aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-14 20:57:15 +0200
committerEugene Sandulenko2019-10-14 20:57:15 +0200
commit0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc (patch)
treef693b0cfbd34b4ce06bcefe92585deb54e61e065 /gui
parent9406baeac9dc1afa67cb0f4fc4fa64eacc24d80b (diff)
downloadscummvm-rg350-0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc.tar.gz
scummvm-rg350-0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc.tar.bz2
scummvm-rg350-0e9d3d0bc81167c3dd4c0ecc0ebb51de3ebdb4fc.zip
GUI: Fix warnings
Diffstat (limited to 'gui')
-rw-r--r--gui/about.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index 11c240bea0..825aab4053 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;