Skip to content

Commit

Permalink
lib-http: test-http-payload: Initialize http_context in test_client_c…
Browse files Browse the repository at this point in the history
…reate_clients().

Fixes complaint from scan-build.
  • Loading branch information
stephanbosch authored and villesavolainen committed Mar 13, 2018
1 parent 1acfddc commit 1ab6917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-http/test-http-payload.c
Expand Up @@ -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,
Expand Down

0 comments on commit 1ab6917

Please sign in to comment.