mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fix some GCC 4.9 warnings.
This commit is contained in:
parent
58456ab90f
commit
3a1c3f608a
2 changed files with 2 additions and 2 deletions
2
cheats.c
2
cheats.c
|
@ -169,7 +169,7 @@ static void cheat_manager_load_config(cheat_manager_t *handle, const char *path,
|
|||
return;
|
||||
}
|
||||
|
||||
char *save;
|
||||
char *save = NULL;
|
||||
const char *num = strtok_r(str, ";", &save);
|
||||
while (num)
|
||||
{
|
||||
|
|
|
@ -301,7 +301,7 @@ static void parse_sub_msg(rarch_cmd_t *handle, const char *tok)
|
|||
|
||||
static void parse_msg(rarch_cmd_t *handle, char *buf)
|
||||
{
|
||||
char *save;
|
||||
char *save = NULL;
|
||||
const char *tok = strtok_r(buf, "\n", &save);
|
||||
while (tok)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue