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
|
@ -72,7 +72,6 @@ multifire(void)
|
|||
coord fy;
|
||||
coord x;
|
||||
coord y;
|
||||
int mil;
|
||||
int dam;
|
||||
int totaldefdam = 0;
|
||||
int vshipno;
|
||||
|
@ -265,7 +264,7 @@ multifire(void)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if ((mil = fship.shp_item[I_MILIT]) < 1) {
|
||||
if (fship.shp_item[I_MILIT] < 1) {
|
||||
pr("Not enough military for firing crew.\n");
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue