From e1395abe69633f9f0ec2f929ca5f573d7c5513f7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 24 Jan 2015 01:32:27 +0100 Subject: [PATCH] (net_http.c) Silence warning --- net_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_http.c b/net_http.c index f8f3888fb7..7d2bd3d50e 100644 --- a/net_http.c +++ b/net_http.c @@ -187,7 +187,7 @@ http_t *net_http_new(const char * url) { bool error; char *domain = NULL, *location = NULL; - int port, fd = -1; + int port = 0, fd = -1; http_t *state = NULL; char *urlcopy =(char*)malloc(strlen(url)+1);