From: Stephan Bosch Date: Sat, 20 Jan 2018 17:48:00 +0000 (+0100) Subject: lib-http: test-http-payload: Initialize http_context in test_client_create_clients(). X-Git-Tag: 2.3.1~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ab6917df4cca2e8da2f9960ed73ab96d3ea3cf5;p=thirdparty%2Fdovecot%2Fcore.git lib-http: test-http-payload: Initialize http_context in test_client_create_clients(). Fixes complaint from scan-build. --- diff --git a/src/lib-http/test-http-payload.c b/src/lib-http/test-http-payload.c index 0b0760f7d5..1beccf7897 100644 --- a/src/lib-http/test-http-payload.c +++ b/src/lib-http/test-http-payload.c @@ -689,7 +689,7 @@ test_client_progress_timeout(void *context ATTR_UNUSED) static void test_client_create_clients(const struct http_client_settings *client_set) { - struct http_client_context *http_context; + struct http_client_context *http_context = NULL; unsigned int i; to_client_progress = timeout_add(CLIENT_PROGRESS_TIMEOUT*1000,