[evolution-data-server] Bug 719307 - trust-prompt: Squash a compiler warning



commit ec2e4ac978b81fd0c463785c0f093d9d046576bd
Author: Colin Walters <walters verbum org>
Date:   Wed Dec 4 09:10:25 2013 -0500

    Bug 719307 - trust-prompt: Squash a compiler warning
    
    gcc tells us this could be uninitialized, which will only happen if we
    fail to base64 decode.

 modules/trust-prompt/module-trust-prompt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/trust-prompt/module-trust-prompt.c b/modules/trust-prompt/module-trust-prompt.c
index c77ac8c..cf75edb 100644
--- a/modules/trust-prompt/module-trust-prompt.c
+++ b/modules/trust-prompt/module-trust-prompt.c
@@ -132,7 +132,7 @@ trust_prompt_show_trust_prompt (EUserPrompterServerExtension *extension,
        GcrParsed *parsed = NULL;
        guchar *data;
        gsize data_length;
-       gboolean success;
+       gboolean success = FALSE;
        GError *local_error = NULL;
 
        g_return_val_if_fail (extension != NULL, FALSE);


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