From 6d43bd729668c801f1fa3402b4d95fe4b0caf2c0 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 20 Feb 2019 11:32:33 +0100 Subject: dpkg: Simplify maintscript_set_exec_context() We do not really need to normalize the return code, which was confusing the cppcheck for which we required a supression. --- t/cppcheck/cppcheck.supp | 4 ---- 1 file changed, 4 deletions(-) (limited to 't') diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index 83f1821cb..6dcb19361 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -12,10 +12,6 @@ variableScope unusedStructMember:lib/compat/obstack.c nullPointerArithmetic:lib/compat/obstack.c -// Ignore, we use this construct to ease portability. -knownConditionTrueFalse:src/script.c:169 -duplicateExpressionTernary:src/script.c:169 - // Ignore, we are testing the functions. knownConditionTrueFalse:lib/dpkg/t/t-macros.c -- cgit v1.2.3