Clean up dead store in skyw()
Dead since commit 38befcb4
. Spotted by the Clang Static Analyzer.
This commit is contained in:
parent
765bf06ab2
commit
8c78b1188b
1 changed files with 0 additions and 2 deletions
|
@ -123,7 +123,6 @@ showsat(struct sky **skypp, int x, int y)
|
|||
struct sky *skyp;
|
||||
struct sky *todelete = NULL;
|
||||
struct sky **prev;
|
||||
struct plchrstr *pcp;
|
||||
int nsat = 0;
|
||||
|
||||
prev = NULL;
|
||||
|
@ -139,7 +138,6 @@ showsat(struct sky **skypp, int x, int y)
|
|||
prev = &(*prev)->s_next;
|
||||
continue;
|
||||
}
|
||||
pcp = &plchr[(int)skyp->s_sat.pln_type];
|
||||
pr(" %12.12s (#%3d) %s @ %s\n",
|
||||
cname(skyp->s_sat.pln_own), skyp->s_sat.pln_own,
|
||||
prplane(&skyp->s_sat), xyas(x, y, player->cnum));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue