Skip to content

Commit

Permalink
Fix valgrind warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Benau committed Jan 3, 2020
1 parent 6b032d6 commit c8d0361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mcpp/mbchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ const char * set_encoding(
const char * loc = "";
int alias;
char norm[ NAMLEN];
memset(norm, 0, NAMLEN);
/*
* Normalized name (removed 'xxxxx.', stripped '_', '-', '.'
* and lowered.
Expand Down

0 comments on commit c8d0361

Please sign in to comment.