Skip to content

Commit

Permalink
See if this prevents some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Sep 14, 2024
1 parent 0a396f0 commit dc7473d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions menu/cbs/menu_cbs_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,8 @@ static int action_get_title_group_settings(const char *path, const char *label,
}

{
char *tok, *save;
char *label_cpy = strdup(label);
char *tok, *save = NULL;
char *label_cpy = strdup(label);

if ((tok = strtok_r(label_cpy, "|", &save)))
{
Expand Down
2 changes: 1 addition & 1 deletion retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -6964,7 +6964,7 @@ static bool retroarch_parse_input_and_config(
case 'd':
{
unsigned new_port;
char *save;
char *save = NULL;
char *tok = NULL;
int port = 0;
unsigned id = 0;
Expand Down

0 comments on commit dc7473d

Please sign in to comment.