Fix some GCC 4.9 warnings.

This commit is contained in:
Themaister 2014-05-02 18:23:07 +02:00
parent 58456ab90f
commit 3a1c3f608a
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{