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
|
@ -99,7 +99,6 @@ print_shiplist(struct shiplist *head)
|
|||
{
|
||||
struct shiplist *s;
|
||||
int first;
|
||||
struct mchrstr *mp;
|
||||
struct shpstr ship;
|
||||
|
||||
s = head;
|
||||
|
@ -107,7 +106,6 @@ print_shiplist(struct shiplist *head)
|
|||
|
||||
while (s != NULL) {
|
||||
getship(s->uid, &ship);
|
||||
mp = &mchr[(int)ship.shp_type];
|
||||
if (first) {
|
||||
pr(" # player->owner eff type\n");
|
||||
first = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue