From 7913bcc1bf4c8bdefead93d053fdc65e5b5f0484 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 23 Feb 2010 00:56:45 +0000 Subject: Fix uninit variable warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12528 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspstring.cpp | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3