[Scummvm-git-logs] scummvm master -> 64a3f893d1c06332b1013c05342e47d65e1b34c6
digitall
dgturner at iee.org
Thu Jan 12 05:04:59 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
64a3f893d1 ADL: Fix Uninitialized Variable Compiler Warnings.
Commit: 64a3f893d1c06332b1013c05342e47d65e1b34c6
https://github.com/scummvm/scummvm/commit/64a3f893d1c06332b1013c05342e47d65e1b34c6
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-12T04:11:28Z
Commit Message:
ADL: Fix Uninitialized Variable Compiler Warnings.
Changed paths:
engines/adl/disk.cpp
diff --git a/engines/adl/disk.cpp b/engines/adl/disk.cpp
index d07e0c5..133c655 100644
--- a/engines/adl/disk.cpp
+++ b/engines/adl/disk.cpp
@@ -69,7 +69,7 @@ static Common::SeekableReadStream *readImage_NIB(const Common::String &filename)
byte *const diskImage = (byte *)calloc(imageSize, 1);
bool sawAddress = false;
- uint8 volNo, track, sector;
+ uint8 volNo = 0, track = 0, sector = 0;
bool newStyle;
byte buffer[trackLen];
More information about the Scummvm-git-logs
mailing list