From bd8293ffe14aa401e942c1cee370cd6b3461cdb7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 17 Oct 2015 14:50:45 -0400 Subject: [PATCH] utf8: Initializer correction --- src/utf8.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utf8.cpp b/src/utf8.cpp index 026c4f9..f385fca 100644 --- a/src/utf8.cpp +++ b/src/utf8.cpp @@ -113,7 +113,7 @@ unsigned int utf8_next_char (const std::string& input, std::string::size_type& i // http://en.wikipedia.org/wiki/UTF-8 std::string utf8_character (unsigned int codepoint) { - char sequence[5] = {0}; + char sequence[5] {}; // 0xxxxxxx -> 0xxxxxxx if (codepoint < 0x80)