]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix uninit variable warning
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 23 Feb 2010 00:56:45 +0000 (00:56 +0000)
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 23 Feb 2010 00:56:45 +0000 (00:56 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12528 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspstring.cpp

index b09a447675765de138ac2ea2d5b290990234f405..38a51e82ffde04dcfc142e8989742201c56be9ea 100644 (file)
@@ -11,8 +11,6 @@
  * ---------------------------------------------------
  */
 
-/* $Core */
-
 #include "inspircd.h"
 
 /*
@@ -206,7 +204,7 @@ std::string Base64ToBin(const std::string& data_str, const char* table)
                table = b64table;
 
        int bitcount = 0;
-       uint32_t buffer;
+       uint32_t buffer = 0;
        const char* data = data_str.c_str();
        std::string rv;
        while (true)