diff options
author | David Turner | 2011-01-23 23:25:34 +0000 |
---|---|---|
committer | David Turner | 2011-01-23 23:25:34 +0000 |
commit | a7f7b90aee9569817da161f1673584da2495b61e (patch) | |
tree | fa697b7f8398a0edcdfd8ed7420ab6d67022526e | |
parent | 86513a19aad390c11eb060454bcc6a27822a94c1 (diff) | |
download | scummvm-rg350-a7f7b90aee9569817da161f1673584da2495b61e.tar.gz scummvm-rg350-a7f7b90aee9569817da161f1673584da2495b61e.tar.bz2 scummvm-rg350-a7f7b90aee9569817da161f1673584da2495b61e.zip |
SCI: Fixed possible use of uninitialized variable in SCI Script Debugger.
svn-id: r55487
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index f1d08646d1..184f81bb99 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -70,7 +70,7 @@ reg_t disassemble(EngineState *s, reg_t pos, bool printBWTag, bool printBytecode const byte *scr; int scr_size; reg_t retval = make_reg(pos.segment, pos.offset + 1); - uint16 param_value; + uint16 param_value = 0xffff; // Suppress GCC warning by setting default value, chose value as invalid to getKernelName etc. int i = 0; Kernel *kernel = g_sci->getKernel(); |