This is the mail archive of the
mailing list for the elfutils project.
elfutils-0.157 bug report
- From: David Binderman <dcb314 at hotmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 17 Oct 2013 20:55:52 +0000
- Subject: elfutils-0.157 bug report
I just ran the static analyser "cppcheck" over the source
code of elfutils-0.157.
It said many things, including
[ar.c:205]: (warning) Logical conjunction always evaluates to false: operation == 7 && operation == 1.
Source code is
if (operation == oper_extract && operation == oper_delete)
Suggest swap && for ||