summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
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<const char *> str_stack;