diff options
author | Max Horn | 2002-08-24 13:06:44 +0000 |
---|---|---|
committer | Max Horn | 2002-08-24 13:06:44 +0000 |
commit | 5cd53189117584f823f8f1ef18200c7632d5493a (patch) | |
tree | 619d133456a83401b50a6353c86c3a073609ef3f /scumm/sys.cpp | |
parent | f3b4f38892a9b0138c60b5402e03701eb727d8d5 (diff) | |
download | scummvm-rg350-5cd53189117584f823f8f1ef18200c7632d5493a.tar.gz scummvm-rg350-5cd53189117584f823f8f1ef18200c7632d5493a.tar.bz2 scummvm-rg350-5cd53189117584f823f8f1ef18200c7632d5493a.zip |
fixed some warnings
svn-id: r4814
Diffstat (limited to 'scumm/sys.cpp')
-rw-r--r-- | scumm/sys.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/sys.cpp b/scumm/sys.cpp index ce797ffd26..2369f53520 100644 --- a/scumm/sys.cpp +++ b/scumm/sys.cpp @@ -68,7 +68,7 @@ void Scumm::fileSeek(void *file, long offs, int whence) void Scumm::fileRead(void *file, void *ptr, uint32 size) { - byte *ptr2 = (byte *)ptr, *src; + byte *ptr2 = (byte *)ptr; if (size == 0) return; @@ -86,7 +86,6 @@ void Scumm::fileRead(void *file, void *ptr, uint32 size) int Scumm::fileReadByte() { byte b; - byte *src; if (fread(&b, 1, 1, (FILE *)_fileHandle) != 1) { clearerr((FILE *)_fileHandle); |