mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
Cleanup: Corrected object initialization using {}
This commit is contained in:
parent
9b5d0a7cdd
commit
5110a83efa
6 changed files with 11 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue