Hello there,

I just ran the static analysis tool cppcheck over the source
code of binutils-2.21.53.0.2. It said

1.

[binutils-2.21.53.0.2/gas/config/tc-mn10200.c:483]: (warning) Redundant 
assignment of "opcode" in switch

The source code is

    case 0xff:
      opcode = 0xfe;
    case 0xe8:

There looks to be a missing break in there.

2.

[binutils-2.21.53.0.2/gas/config/tc-mn10200.c:563]: (warning) Redundant 
assignment of "opcode" in switch

Duplicate.

Regards

David Binderman

                                          
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to