[empathy] Initialize matched to FALSE to stop -Wall breaking the build (and potentially avoid a hard-to-track



commit de3dbb6817d90c0eee7207fc5b69e53e7e72200a
Author: Danilo Segan <danilo gnome org>
Date:   Mon Apr 4 13:09:16 2011 +0200

    Initialize matched to FALSE to stop -Wall breaking the build (and potentially avoid a hard-to-track bug)
    
    Fixes bug #646691

 libempathy/empathy-tls-verifier.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index 47a5433..265f348 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -258,7 +258,7 @@ perform_verification (EmpathyTLSVerifier *self,
   guint verify_output;
   gint res;
   gint i;
-  gboolean matched;
+  gboolean matched = FALSE;
   EmpathyTLSVerifierPriv *priv = GET_PRIV (self);
 
   DEBUG ("Performing verification");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]