Cleanup: Corrected object initialization using {}

This commit is contained in:
Paul Beckingham 2015-10-16 08:22:03 -04:00
parent 9b5d0a7cdd
commit 5110a83efa
6 changed files with 11 additions and 11 deletions

View file

@ -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)