summaryrefslogtreecommitdiff
path: root/base/stringprintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/stringprintf.cpp')
-rw-r--r--base/stringprintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stringprintf.cpp b/base/stringprintf.cpp
index 78e1e8d142..e83ab1316f 100644
--- a/base/stringprintf.cpp
+++ b/base/stringprintf.cpp
@@ -25,7 +25,7 @@ namespace base {
void StringAppendV(std::string* dst, const char* format, va_list ap) {
// First try with a small fixed size buffer
- char space[1024];
+ char space[1024] __attribute__((__uninitialized__));
// It's possible for methods that use a va_list to invalidate
// the data in it upon use. The fix is to make a copy