version: silence potential use before assign

This commit is contained in:
Danny Robson 2015-07-13 16:29:50 +10:00
parent 19544076dd
commit 33ee3ec11c

View File

@ -113,7 +113,7 @@ version::sanity (void) const {
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
util::version util::version
util::version::parse (const std::string& str) { util::version::parse (const std::string& str) {
unsigned int accum; unsigned int accum = 0;
int cs; int cs;
const char *p = str.data (), const char *p = str.data (),