Clean up dead stores
Does not change optimized code (gcc -O). Spotted by the Clang Static Analyzer.
This commit is contained in:
parent
3650587dab
commit
b8f5eaff0b
25 changed files with 66 additions and 116 deletions
|
@ -1075,7 +1075,6 @@ air_damage(struct emp_qelem *bombers, coord x, coord y, int mission,
|
|||
if (!plp->load)
|
||||
continue;
|
||||
|
||||
newdam = 0;
|
||||
if (plp->pcp->pl_flags & P_A) {
|
||||
if (roll(100) > pln_identchance(pp, hardtarget, EF_SHIP)) {
|
||||
wu(0, pp->pln_own,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue