aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-03 18:17:03 -0400
committerPaul Gilbert2015-08-03 18:17:03 -0400
commite3cd091f88044757548fb2c9d473c86b78146c6d (patch)
tree86a298df38cfd6fa1c45c8f0099295e8113b511c
parent370107c95326a8fafd816aed741e7842355c573e (diff)
downloadscummvm-rg350-e3cd091f88044757548fb2c9d473c86b78146c6d.tar.gz
scummvm-rg350-e3cd091f88044757548fb2c9d473c86b78146c6d.tar.bz2
scummvm-rg350-e3cd091f88044757548fb2c9d473c86b78146c6d.zip
SHERLOCK: RT: Fix Coverity warning
-rw-r--r--engines/sherlock/tattoo/widget_foolscap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/widget_foolscap.cpp b/engines/sherlock/tattoo/widget_foolscap.cpp
index 2acb20081a..0ec7fb2161 100644
--- a/engines/sherlock/tattoo/widget_foolscap.cpp
+++ b/engines/sherlock/tattoo/widget_foolscap.cpp
@@ -33,6 +33,7 @@ namespace Tattoo {
WidgetFoolscap::WidgetFoolscap(TattooEngine *vm) : WidgetBase(vm) {
for (int idx = 0; idx < 3; ++idx)
Common::fill(&_answers[idx][0], &_answers[idx][10], 0);
+ Common::fill(&_solutions[0], &_solutions[3], nullptr);
_images = nullptr;
_numWide = 0;
_spacing = 0;