[Scummvm-cvs-logs] scummvm master -> 5cc2315b38561f525c3925256f3e44437a634763
Strangerke
Strangerke at scummvm.org
Sun Feb 9 20:13:24 CET 2014
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:
5cc2315b38 AVALANCHE: Initialize a couple of uninitialized variables
Commit: 5cc2315b38561f525c3925256f3e44437a634763
https://github.com/scummvm/scummvm/commit/5cc2315b38561f525c3925256f3e44437a634763
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-09T11:11:55-08:00
Commit Message:
AVALANCHE: Initialize a couple of uninitialized variables
Changed paths:
engines/avalanche/ghostroom.cpp
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index 3217584..d75c993 100644
--- a/engines/avalanche/ghostroom.cpp
+++ b/engines/avalanche/ghostroom.cpp
@@ -84,8 +84,9 @@ void GhostRoom::wait(uint16 howLong) {
void GhostRoom::doBat() {
_batCount++;
- int8 dx, iy;
- byte batImage;
+ int8 dx = 0;
+ int8 iy = 0;
+ byte batImage = 0;
if ((_batCount % 2) == 1) {
if ((1 <= _batCount) && (_batCount <= 90)) {
dx = 2;
More information about the Scummvm-git-logs
mailing list