From 8852d6371103afb6aceec5fe357a86cb83432dd2 Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Tue, 19 Nov 2013 19:43:56 +0000 Subject: (svn r26041) -Fix: make variable initialization more obvious for humans and compilers. --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/strings.cpp b/src/strings.cpp index efc68ce41..0a6b23902 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -801,7 +801,7 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg /* 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; -- cgit v1.2.3-70-g09d2