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
|
@ -272,8 +272,6 @@ nav_ship(struct shpstr *sp)
|
|||
mlp->mobil = sp->shp_mobil;
|
||||
emp_insque(&mlp->queue, &ship_list);
|
||||
|
||||
quit = 1; /* setup loop, we want to check it 1 time. */
|
||||
|
||||
do {
|
||||
if ((sp->shp_mobil > 0) && (!(sp->shp_autonav & AN_LOADING)) &&
|
||||
(!(sp->shp_autonav & AN_STANDBY))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue