summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorMarcel Raad <marcelraad@users.sf.net>2014-07-04 18:26:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-05 01:42:10 +0200
commit8ffe6f5b5761aa77b3e5eae236475b173e9efd2f (patch)
tree902996c948cfd374473c6eb82494f350e012dfb7 /lib/url.c
parentca2aa61b66d684a1076d43025048f1a43d5755b6 (diff)
downloadcurl-8ffe6f5b5761aa77b3e5eae236475b173e9efd2f.tar.gz
compiler warnings: potentially uninitialized variables
... pointed out by MSVC2013 Bug: http://curl.haxx.se/bug/view.cgi?id=1391
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 5209c8dce..e09a11a43 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -5137,7 +5137,7 @@ static CURLcode create_conn(struct SessionHandle *data,
char *proxy = NULL;
bool prot_missing = FALSE;
bool no_connections_available = FALSE;
- bool force_reuse;
+ bool force_reuse = FALSE;
size_t max_host_connections = Curl_multi_max_host_connections(data->multi);
size_t max_total_connections = Curl_multi_max_total_connections(data->multi);