Cleanup some warnings

This commit is contained in:
twinaphex 2015-07-29 18:38:06 +02:00
parent 915863a32a
commit f955c75f5f
2 changed files with 2 additions and 6 deletions

View File

@ -711,12 +711,9 @@ void CDAccess_Image::ImageOpen(const char *path, bool image_memcache)
memcpy(&Tracks[active_track], &TmpTrack, sizeof(TmpTrack));
if(FirstTrack > LastTrack)
{
throw(MDFN_Error(0, _("No tracks found!\n")));
}
FirstTrack = FirstTrack;
NumTracks = 1 + LastTrack - FirstTrack;
NumTracks = 1 + LastTrack - FirstTrack;
int32 RunningLBA = 0;
int32 LastIndex = 0;

View File

@ -74,7 +74,6 @@ class OggVorbisReader : public AudioReader
private:
OggVorbis_File ovfile;
Stream *fw;
};
@ -116,7 +115,7 @@ static long iov_tell_func(void *user_data)
return fw->tell();
}
OggVorbisReader::OggVorbisReader(Stream *fp) : fw(fp)
OggVorbisReader::OggVorbisReader(Stream *fp)
{
ov_callbacks cb;