]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix problems in the sim sources discovered by running the cppcheck static analysis...
authorNick Clifton <nickc@redhat.com>
Wed, 29 Apr 2015 15:02:02 +0000 (16:02 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 29 Apr 2015 15:02:02 +0000 (16:02 +0100)
commit0a13382c8e708fd9eb15dbc81cedc35e6670090c
tree9fd21d2d6d7d18ce08e5c4d1f74cf91f57fb631a
parent998d2a3ef31378d3d980972dc68f4926b720a7e9
Fix problems in the sim sources discovered by running the cppcheck static analysis tool.

erc32 PR 18273
* sis.c (main): Remove unreachable code.

m68hc11 * gencode.c (gen_fetch_operands): Remove unreachable code.

ppc * hw_htab.c (htab_map_binary): Fix overlap check.

common * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
increasing parenthesis around casts to signed values.
sim/common/ChangeLog
sim/common/sim-fpu.c
sim/erc32/ChangeLog
sim/erc32/sis.c
sim/m68hc11/ChangeLog
sim/m68hc11/gencode.c
sim/ppc/ChangeLog
sim/ppc/hw_htab.c