Skip to content

Commit

Permalink
Memset this variable
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 30, 2017
1 parent 063343e commit b0de197
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions menu/drivers/xmb.c
Expand Up @@ -2389,9 +2389,7 @@ static int xmb_draw_item(
if (i == current && width > 320 && height > 240
&& !string_is_empty(entry->sublabel))
{
char entry_sublabel[255];

entry_sublabel[0] = '\0';
char entry_sublabel[255] = {0};

label_offset = - xmb->margins_label_top;

Expand Down

0 comments on commit b0de197

Please sign in to comment.