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
|
@ -127,7 +127,6 @@ buildeff(struct sctstr *sp, int work, double *money)
|
|||
int n, hcms, lcms;
|
||||
int effdone = 0;
|
||||
|
||||
work_cost = 0;
|
||||
if (sp->sct_type != sp->sct_newtype) {
|
||||
/*
|
||||
* Tear down existing sector.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue