[evolution] Initialize 'cache' variable in e_http_request_process_sync()



commit 6891c4d9b39101b14cdde34cd5a63f255b4f9f82
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 4 10:04:56 2019 +0100

    Initialize 'cache' variable in e_http_request_process_sync()
    
    This could be used uninitialized.

 src/mail/e-http-request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mail/e-http-request.c b/src/mail/e-http-request.c
index 7f574d91b2..d8690b7545 100644
--- a/src/mail/e-http-request.c
+++ b/src/mail/e-http-request.c
@@ -193,7 +193,7 @@ e_http_request_process_sync (EContentRequest *request,
        EShell *shell;
        GSettings *settings;
        const gchar *user_cache_dir, *soup_query;
-       CamelDataCache *cache;
+       CamelDataCache *cache = NULL;
        GIOStream *cache_stream;
        gint uri_len;
        gboolean success = FALSE;


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