[glib-networking] gnutls: fix an uninitialized variable
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: fix an uninitialized variable
- Date: Sat, 11 Aug 2012 13:28:35 +0000 (UTC)
commit eb72dc809c1f469e411aad16cfc4fc17287b3a73
Author: Dan Winship <danw gnome org>
Date: Sat Aug 11 09:28:16 2012 -0400
gnutls: fix an uninitialized variable
https://bugzilla.gnome.org/show_bug.cgi?id=681636
tls/gnutls/gtlsconnection-gnutls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index da6f196..ccdb59c 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -1461,7 +1461,7 @@ g_tls_connection_gnutls_close (GIOStream *stream,
{
GTlsConnectionGnutls *gnutls = G_TLS_CONNECTION_GNUTLS (stream);
gboolean success;
- int ret;
+ int ret = 0;
if (!claim_op (gnutls, G_TLS_CONNECTION_GNUTLS_OP_CLOSE,
TRUE, cancellable, error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]