From 5deb1eb8b6c38c19e18b6b4fca1618c90814a74f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Jan 2018 22:35:36 +0100 Subject: [PATCH] initialize response_code, always --- src/curl/curl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/curl/curl.c b/src/curl/curl.c index 6087cbddb..0a9fc5ffb 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet - Copyright (C) 2014, 2015, 2016 GNUnet e.V. + Copyright (C) 2014, 2015, 2016, 2018 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -466,6 +466,7 @@ GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx) CURLINFO_PRIVATE, (char **) &job)); GNUNET_assert (job->ctx == ctx); + response_code = 0; j = download_get_result (&job->db, job->easy_handle, &response_code); -- 2.25.1