summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-23 00:56:45 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-23 00:56:45 +0000
commit7913bcc1bf4c8bdefead93d053fdc65e5b5f0484 (patch)
tree72ac8290a1084bc41eff0fc7a400a98ad2f13f5d /src
parent5f4da6098761a837c51d9b1d75411ccc982ad111 (diff)
Fix uninit variable warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12528 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspstring.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/inspstring.cpp b/src/inspstring.cpp
index b09a44767..38a51e82f 100644
--- a/src/inspstring.cpp
+++ b/src/inspstring.cpp
@@ -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)