# HG changeset patch # User fonsinchen # Date 2013-11-19 19:43:56 # Node ID 091f0485c05ff0271345957e74f5249fd0558549 # Parent 513d0bb7ac0fe3c2bb66c6a37e2a3f04f7b9151a (svn r26041) -Fix: make variable initialization more obvious for humans and compilers. diff --git a/src/strings.cpp b/src/strings.cpp --- a/src/strings.cpp +++ b/src/strings.cpp @@ -801,7 +801,7 @@ static char *FormatString(char *buff, co /* We have to restore the original offset here to to read the correct values. */ args->offset = orig_offset; } - WChar b; + WChar b = '\0'; uint next_substr_case_index = 0; char *buf_start = buff; std::stack str_stack;