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
|
|
@ -65,7 +65,7 @@ char *ws_guess[MAXSTICKS]; /* Players guess at what wand is */
|
|||
char *ws_type[MAXSTICKS]; /* Is it a wand or a staff */
|
||||
char file_name[256]; /* Save file name */
|
||||
char home[PATH_MAX]; /* User's home directory */
|
||||
unsigned char prbuf[80]; /* Buffer for sprintfs */
|
||||
char prbuf[80]; /* Buffer for sprintfs */
|
||||
int max_hp; /* Player's max hit points */
|
||||
int ntraps; /* Number of traps on this level */
|
||||
int max_level; /* Deepest player has gone */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue