[Scummvm-git-logs] scummvm master -> 0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc

sev- sev at scummvm.org
Mon Oct 14 20:57:28 CEST 2019


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:
0e9d3d0bc8 GUI: Fix warnings


Commit: 0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc
    https://github.com/scummvm/scummvm/commit/0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-14T20:57:15+02:00

Commit Message:
GUI: Fix warnings

Changed paths:
    gui/about.cpp


diff --git a/gui/about.cpp b/gui/about.cpp
index 11c240b..825aab4 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -874,7 +874,7 @@ void EE::docollisions() {
 
 
 void EE::computer0() {
-	int ystep, destx, dx, rndoff, dest;
+	int ystep, destx, dx, rndoff, dest = 0;
 
 	_keymove[0][kDirUp] = 0;
 	if (_tby < _bytop) _bytop = _tby;
@@ -961,7 +961,7 @@ void EE::computer0() {
 }
 
 void EE::computer1() {
-	int ystep, destx, dx, rndoff, dest;
+	int ystep, destx, dx, rndoff, dest = 0;
 
 	_keymove[1][kDirUp] = 0;
 	if (_tby < _bytop) _bytop = _tby;





More information about the Scummvm-git-logs mailing list