diff options
author | Eugene Sandulenko | 2010-08-17 11:00:29 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-17 11:00:29 +0000 |
commit | 2c545ae1f38e479f2df1d270170bc9708b93a824 (patch) | |
tree | 7232d2405cbba85df108c3bb992ddb7b9dededc9 /engines/hugo/file.cpp | |
parent | 789219022ac353ec72086d96c45a958c856abef2 (diff) | |
download | scummvm-rg350-2c545ae1f38e479f2df1d270170bc9708b93a824.tar.gz scummvm-rg350-2c545ae1f38e479f2df1d270170bc9708b93a824.tar.bz2 scummvm-rg350-2c545ae1f38e479f2df1d270170bc9708b93a824.zip |
HUGO: Fix warnings
svn-id: r52146
Diffstat (limited to 'engines/hugo/file.cpp')
-rwxr-xr-x | engines/hugo/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp index 4ccabc01f0..672051fe2b 100755 --- a/engines/hugo/file.cpp +++ b/engines/hugo/file.cpp @@ -152,7 +152,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) { // Read object file of PCC images into object supplied byte x, y, j, k; uint16 x2; // Limit on x in image data - seq_t *seqPtr; // Ptr to sequence structure + seq_t *seqPtr = 0; // Ptr to sequence structure image_pt dibPtr; // Ptr to DIB data objBlock_t objBlock; // Info on file within database bool firstFl = true; // Initializes pcx read function @@ -335,7 +335,7 @@ bool FileManager::fileExists(char *filename) { void FileManager::readOverlay(int screenNum, image_pt image, ovl_t overlayType) { // Open and read in an overlay file, close file - uint32 i; + uint32 i = 0; int16 j, k; int8 data; // Must be 8 bits signed image_pt tmpImage = image; // temp ptr to overlay file |