Hello there,

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 ||

Regards

David Binderman                                           

Reply via email to