From b6d1c45bb7ece9eab12f3bc958923112662232fb Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 17 Aug 2010 10:19:06 +0000 Subject: GOB: Fix warnings about potentially uninitialized vars. svn-id: r52142 --- engines/gob/inter_v6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/inter_v6.cpp') diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 73ef46bf31..a5a4f7d666 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -171,7 +171,7 @@ void Inter_v6::o6_playVmdOrMusic() { _vm->_vidPlayer->evaluateFlags(props); - int slot; + int slot = 0; if ((fileName[0] != 0) && ((slot = _vm->_vidPlayer->openVideo(true, fileName, props)) < 0)) { WRITE_VAR(11, (uint32) -1); return; -- cgit v1.2.3