diff options
author | Guillem Jover <guillem@debian.org> | 2019-02-20 11:32:33 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-02-23 15:25:01 +0100 |
commit | 6d43bd729668c801f1fa3402b4d95fe4b0caf2c0 (patch) | |
tree | 709ae7f289be839b91ccf259a9372a7a9812d6b3 /t | |
parent | be0504ce8b38a653c43a33ce6b4b70722e2e46a5 (diff) | |
download | dpkg-6d43bd729668c801f1fa3402b4d95fe4b0caf2c0.tar.gz |
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.
Diffstat (limited to 't')
-rw-r--r-- | t/cppcheck/cppcheck.supp | 4 |
1 files changed, 0 insertions, 4 deletions
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 |