[evolution/gnome-3-30] Initialize 'cache' variable in e_http_request_process_sync()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-30] Initialize 'cache' variable in e_http_request_process_sync()
- Date: Mon, 4 Feb 2019 09:12:37 +0000 (UTC)
commit 21b15c0c557adafc0336021c2850317e240ccda4
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]