summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2013-09-19 19:07:51 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-08 13:16:33 (GMT)
commitaf0051f48ac54ff749faff885f05fb9f34037d5a (patch)
tree1b934412c3cc05d466a562f5b1474ffe79598f4d /Utilities/cmcurl
parentcb4ec606a9e13ed4064fd8f72f00e51ec09ea537 (diff)
downloadCMake-af0051f48ac54ff749faff885f05fb9f34037d5a.zip
CMake-af0051f48ac54ff749faff885f05fb9f34037d5a.tar.gz
CMake-af0051f48ac54ff749faff885f05fb9f34037d5a.tar.bz2
curl, bzip2: Suppress warnings by setting initial value
Silence clang -Wsometimes-uninitialized warnings.
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/multi.c b/Utilities/cmcurl/multi.c
index b501f29..869d568 100644
--- a/Utilities/cmcurl/multi.c
+++ b/Utilities/cmcurl/multi.c
@@ -763,7 +763,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
struct Curl_message *msg = NULL;
bool connected;
bool async;
- bool protocol_connect;
+ bool protocol_connect = 0;
bool dophase_done;
bool done;
CURLMcode result = CURLM_OK;