Skip to content

Commit

Permalink
Removed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
173210 committed Oct 2, 2013
1 parent d94185b commit cc17f92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/cps1/memintrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
3 changes: 1 addition & 2 deletions src/cps2/memintrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 1 addition & 3 deletions src/ncdz/cdda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc17f92

Please sign in to comment.