Clean up dead stores

Does not change optimized code (gcc -O).

Spotted by the Clang Static Analyzer.
This commit is contained in:
Markus Armbruster 2010-01-16 17:40:28 +01:00
parent 3650587dab
commit b8f5eaff0b
25 changed files with 66 additions and 116 deletions

View file

@ -79,7 +79,6 @@ newe(void)
if (twork > bwork) {
twork = bwork;
}
work -= twork;
bwork -= twork;
eff -= twork * 4;
if (eff <= 0) {
@ -103,7 +102,6 @@ newe(void)
if (twork > hcms)
twork = hcms;
}
work -= twork;
eff += twork;
} else if (eff < 100) {
twork = 100 - eff;
@ -122,7 +120,6 @@ newe(void)
if (twork > hcms)
twork = hcms;
}
work -= twork;
eff += twork;
}
} else {