diff options
author | Sean McBride <sean@rogue-research.com> | 2013-09-19 19:07:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-08 13:16:33 (GMT) |
commit | af0051f48ac54ff749faff885f05fb9f34037d5a (patch) | |
tree | 1b934412c3cc05d466a562f5b1474ffe79598f4d | |
parent | cb4ec606a9e13ed4064fd8f72f00e51ec09ea537 (diff) | |
download | CMake-af0051f48ac54ff749faff885f05fb9f34037d5a.zip CMake-af0051f48ac54ff749faff885f05fb9f34037d5a.tar.gz CMake-af0051f48ac54ff749faff885f05fb9f34037d5a.tar.bz2 |
curl, bzip2: Suppress warnings by setting initial value
Silence clang -Wsometimes-uninitialized warnings.
-rw-r--r-- | Utilities/cmbzip2/compress.c | 2 | ||||
-rw-r--r-- | Utilities/cmcurl/multi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmbzip2/compress.c b/Utilities/cmbzip2/compress.c index 7d9b3da..feea233 100644 --- a/Utilities/cmbzip2/compress.c +++ b/Utilities/cmbzip2/compress.c @@ -239,7 +239,7 @@ static void sendMTFValues ( EState* s ) { Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; - Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; + Int32 nSelectors = 0, alphaSize, minLen, maxLen, selCtr; Int32 nGroups, nBytes; /*-- 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; |