aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2013-10-02 05:09:03 +0100
committerD G Turner2013-10-02 05:09:03 +0100
commit93e5f1fddc9756b7a57a9d82d0cc5f1ca52462de (patch)
treec2c67e11216df1eacc65509a0df81c2ab7e21c9f
parent71420a658e01097f62e20a861f1b2204e6224a86 (diff)
downloadscummvm-rg350-93e5f1fddc9756b7a57a9d82d0cc5f1ca52462de.tar.gz
scummvm-rg350-93e5f1fddc9756b7a57a9d82d0cc5f1ca52462de.tar.bz2
scummvm-rg350-93e5f1fddc9756b7a57a9d82d0cc5f1ca52462de.zip
CINE: Fix for possible uninitialized variable usage. CID 1086890.
-rw-r--r--engines/cine/script_fw.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp
index 176380c14f..2abe32f797 100644
--- a/engines/cine/script_fw.cpp
+++ b/engines/cine/script_fw.cpp
@@ -380,8 +380,7 @@ RawScript::RawScript(const FWScriptInfo &info, const byte *data, uint16 s) :
* Copy constructor
*/
RawScript::RawScript(const RawScript &src) : _size(src._size),
- _data(new byte[_size + 1]), _labels(src._labels) {
-
+ _data(new byte[src._size + 1]), _labels(src._labels) {
assert(_data);
memcpy(_data, src._data, _size + 1);
}