diff options
author | Travis Howell | 2005-02-22 13:54:38 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-22 13:54:38 +0000 |
commit | 99f54b437d810ea527a6ca89cb387d786e6276f4 (patch) | |
tree | c1943354074ebb7bcaf72e65b8d5f0f6e1182981 /scumm/script_v7he.cpp | |
parent | 9bb141481822a6f1deef4c152e6bbb87d4136a10 (diff) | |
download | scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.tar.gz scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.tar.bz2 scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.zip |
Minor cleanup
svn-id: r16860
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 851fe5fab2..f6b763f0d8 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -911,7 +911,6 @@ void ScummEngine_v70he::o70_compareString() { void ScummEngine_v70he::o70_readINI() { int len; int type; - int retval; byte option[256]; // we pretend that we don't have .ini file @@ -930,9 +929,8 @@ void ScummEngine_v70he::o70_readINI() { case 2: // string writeVar(0, 0); defineArray(0, kStringArray, 0, 0); - retval = readVar(0); writeArray(0, 0, 0, 0); - push(retval); // var ID string + push(readVar(0)); // var ID string break; default: error("o70_readINI: default type %d", type); |