diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-08 17:45:00 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-08 17:45:00 (GMT) |
commit | 5cb135fa91ff018906317c7464307492c33a325d (patch) | |
tree | 9acd9fdd01bb40e4df44eab1dc640d159d8061ad /Swiften/SASL | |
parent | 9528e67dae43aa5771b8c98d84564f514ed50bac (diff) | |
download | swift-contrib-5cb135fa91ff018906317c7464307492c33a325d.zip swift-contrib-5cb135fa91ff018906317c7464307492c33a325d.tar.bz2 |
Initialize variable to avoid GCC 4.4 warning.
Diffstat (limited to 'Swiften/SASL')
-rw-r--r-- | Swiften/SASL/SCRAMSHA1ClientAuthenticator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ByteArray> std::map<char, String> SCRAMSHA1ClientAuthenticator::parseMap(const String& s) { std::map<char, String> result; if (s.getUTF8Size() > 0) { - char key; + char key = 0; String value; size_t i = 0; bool expectKey = true; |