mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
unreachable code warning fixes for tools (nw)
This commit is contained in:
parent
b0b11c8fa2
commit
d8ec9291c6
@ -297,7 +297,8 @@ static int find_file(hp48_partition* p, const char* filename, int *ptotalsize, i
|
||||
|
||||
}
|
||||
|
||||
return -1;
|
||||
// never executed
|
||||
//return -1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -242,7 +242,6 @@ char *stream_getline(imgtool_stream *source, UINT16 max_len)
|
||||
stream_seek(source, -1, SEEK_CUR);
|
||||
case '\n':
|
||||
return line;
|
||||
break;
|
||||
default:
|
||||
line[pos++] = data;
|
||||
break;
|
||||
|
@ -182,7 +182,6 @@ protected:
|
||||
vprintf(format, ap);
|
||||
printf("\n");
|
||||
throw;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user