[Scummvm-cvs-logs] scummvm master -> e3cd091f88044757548fb2c9d473c86b78146c6d
dreammaster
dreammaster at scummvm.org
Tue Aug 4 00:18:06 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e3cd091f88 SHERLOCK: RT: Fix Coverity warning
Commit: e3cd091f88044757548fb2c9d473c86b78146c6d
https://github.com/scummvm/scummvm/commit/e3cd091f88044757548fb2c9d473c86b78146c6d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-03T18:17:03-04:00
Commit Message:
SHERLOCK: RT: Fix Coverity warning
Changed paths:
engines/sherlock/tattoo/widget_foolscap.cpp
diff --git a/engines/sherlock/tattoo/widget_foolscap.cpp b/engines/sherlock/tattoo/widget_foolscap.cpp
index 2acb200..0ec7fb2 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;
More information about the Scummvm-git-logs
mailing list