From 5cb135fa91ff018906317c7464307492c33a325d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 8 Feb 2011 18:45:00 +0100 Subject: Initialize variable to avoid GCC 4.4 warning. diff --git a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.cpp b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.cpp index 2cc7cea..b8c89c6 100644 --- a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.cpp +++ b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.cpp @@ -120,7 +120,7 @@ bool SCRAMSHA1ClientAuthenticator::setChallenge(const boost::optional std::map SCRAMSHA1ClientAuthenticator::parseMap(const String& s) { std::map result; if (s.getUTF8Size() > 0) { - char key; + char key = 0; String value; size_t i = 0; bool expectKey = true; -- cgit v0.10.2-6-g49f6