Fix some potential problems detected by clang.
Most of these are unnecessary comparisons and functions returning the wrong types.
This commit is contained in:
parent
614dcfffd2
commit
172c83f254
11 changed files with 24 additions and 25 deletions
|
|
@ -469,7 +469,7 @@ extern int p_know[MAXPOTIONS]; /* Does he know what a potion d
|
|||
extern struct magic_item p_magic[MAXPOTIONS]; /* Names and chances for potions */
|
||||
extern struct thing player; /* The rogue */
|
||||
extern int playing; /* True until he quits */
|
||||
extern unsigned char prbuf[80]; /* Buffer for sprintfs */
|
||||
extern char prbuf[80]; /* Buffer for sprintfs */
|
||||
extern int purse; /* How much gold the rogue has */
|
||||
extern int quiet; /* Number of quiet turns */
|
||||
extern char * r_guess[MAXRINGS]; /* Players guess at what ring is */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue