diff --git a/src/cps1/memintrf.c b/src/cps1/memintrf.c index b43db21..6068b80 100644 --- a/src/cps1/memintrf.c +++ b/src/cps1/memintrf.c @@ -389,12 +389,11 @@ static int load_rom_info(const char *game_name) { if (str_cmp(&linebuf[1], "REGION(") == 0) { - char *size, *type, *flag; + char *size, *type; strtok(&linebuf[1], " "); size = strtok(NULL, " ,"); type = strtok(NULL, " ,"); - flag = strtok(NULL, " "); if (strcmp(type, "CPU1") == 0) { diff --git a/src/cps2/memintrf.c b/src/cps2/memintrf.c index 3d51308..98e366f 100644 --- a/src/cps2/memintrf.c +++ b/src/cps2/memintrf.c @@ -436,12 +436,11 @@ static int load_rom_info(const char *game_name) { if (str_cmp(&linebuf[1], "REGION(") == 0) { - char *size, *type, *flag; + char *size, *type; strtok(&linebuf[1], " "); size = strtok(NULL, " ,"); type = strtok(NULL, " ,"); - flag = strtok(NULL, " "); if (strcmp(type, "CPU1") == 0) { diff --git a/src/ncdz/cdda.c b/src/ncdz/cdda.c index 5f1f17e..2c5034c 100644 --- a/src/ncdz/cdda.c +++ b/src/ncdz/cdda.c @@ -208,12 +208,10 @@ void neogeo_cdda_check(void) static void neogeo_cdda_command(int command, int track) { - int loop, mode, flag, _track; + int loop, flag; - _track = track; track = ((track >> 4) * 10) + (track & 0x0f); loop = (command & 1) ? 0 : 1; - mode = (command & 2) ? 1 : 0; flag = (command & 4) ? 1 : 0; switch (command)