diff options
author | Walter van Niftrik | 2016-12-26 15:31:20 +0100 |
---|---|---|
committer | Walter van Niftrik | 2016-12-26 15:31:20 +0100 |
commit | f3e0c4d093f52d1728b65c078df88c2f482ec956 (patch) | |
tree | 50a9df1a43f0fc6393a070c5bb19a8399fd13439 | |
parent | 480713a46c04e88b7bb4c02b75a4e3693cf3466c (diff) | |
download | scummvm-rg350-f3e0c4d093f52d1728b65c078df88c2f482ec956.tar.gz scummvm-rg350-f3e0c4d093f52d1728b65c078df88c2f482ec956.tar.bz2 scummvm-rg350-f3e0c4d093f52d1728b65c078df88c2f482ec956.zip |
ADL: Silence CID 1356412/1356413
-rw-r--r-- | engines/adl/adl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp index 3d95f46564..3cf68c5dfa 100644 --- a/engines/adl/adl.cpp +++ b/engines/adl/adl.cpp @@ -1240,8 +1240,8 @@ bool AdlEngine::matchCommand(ScriptEnv &env) const { return false; if (DebugMan.isDebugChannelEnabled(kDebugChannelScript)) { - op_debug("IF\n\tROOM == %s", roomStr(env.getCommand().room).c_str()); - op_debug("\t&& SAID(%s, %s)", verbStr(env.getCommand().verb).c_str(), nounStr(env.getCommand().noun).c_str()); + (void)op_debug("IF\n\tROOM == %s", roomStr(env.getCommand().room).c_str()); + (void)op_debug("\t&& SAID(%s, %s)", verbStr(env.getCommand().verb).c_str(), nounStr(env.getCommand().noun).c_str()); } for (uint i = 0; i < env.getCondCount(); ++i) { @@ -1254,7 +1254,7 @@ bool AdlEngine::matchCommand(ScriptEnv &env) const { if (numArgs < 0) { if (DebugMan.isDebugChannelEnabled(kDebugChannelScript)) - op_debug("FAIL\n"); + (void)op_debug("FAIL\n"); return false; } @@ -1266,7 +1266,7 @@ bool AdlEngine::matchCommand(ScriptEnv &env) const { void AdlEngine::doActions(ScriptEnv &env) { if (DebugMan.isDebugChannelEnabled(kDebugChannelScript)) - op_debug("THEN"); + (void)op_debug("THEN"); for (uint i = 0; i < env.getActCount(); ++i) { byte op = env.op(); @@ -1278,7 +1278,7 @@ void AdlEngine::doActions(ScriptEnv &env) { if (numArgs < 0) { if (DebugMan.isDebugChannelEnabled(kDebugChannelScript)) - op_debug("ABORT\n"); + (void)op_debug("ABORT\n"); return; } @@ -1286,7 +1286,7 @@ void AdlEngine::doActions(ScriptEnv &env) { } if (DebugMan.isDebugChannelEnabled(kDebugChannelScript)) - op_debug("END\n"); + (void)op_debug("END\n"); } bool AdlEngine::doOneCommand(const Commands &commands, byte verb, byte noun) { |