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
|
@ -57,7 +57,6 @@ sell(void)
|
|||
struct ichrstr *ip;
|
||||
struct comstr comm;
|
||||
int number_set;
|
||||
int number_sub;
|
||||
int totalcom;
|
||||
int amt;
|
||||
int com;
|
||||
|
@ -99,7 +98,6 @@ sell(void)
|
|||
pr("Sectors need at least 1 mobility to sell goods.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
number_sub = 0;
|
||||
p = getstarg(player->argp[3], "Quantity: ", buf);
|
||||
if (!p || !*p)
|
||||
return RET_SYN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue