unreachable code warning fixes for tools (nw)

This commit is contained in:
Oliver Stöneberg 2014-09-08 12:11:56 +00:00
parent b0b11c8fa2
commit d8ec9291c6
3 changed files with 2 additions and 3 deletions

View File

@ -297,7 +297,8 @@ static int find_file(hp48_partition* p, const char* filename, int *ptotalsize, i
}
return -1;
// never executed
//return -1;
}

View File

@ -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;

View File

@ -182,7 +182,6 @@ protected:
vprintf(format, ap);
printf("\n");
throw;
break;
}
}