fix analyzer complaints about Knox level
Fix some of the extreme verbosity for null vs non-null triggered by mklev.c. dungeon_branch() never returns Null. '#include <assert.h>' should probably be moved out of multiple .c files and into cstd.h or some such but this doesn't do that.
This commit is contained in:
@@ -801,7 +801,7 @@ extern const char *surface(coordxy, coordxy);
|
||||
extern const char *ceiling(coordxy, coordxy);
|
||||
extern boolean In_quest(d_level *) NONNULLARG1;
|
||||
extern boolean In_mines(d_level *) NONNULLARG1;
|
||||
extern branch *dungeon_branch(const char *) NONNULLARG1;
|
||||
extern branch *dungeon_branch(const char *) NONNULL NONNULLARG1;
|
||||
extern boolean at_dgn_entrance(const char *) NONNULLARG1;
|
||||
extern boolean In_hell(d_level *) NONNULLARG1;
|
||||
extern boolean In_V_tower(d_level *) NONNULLARG1;
|
||||
|
||||
Reference in New Issue
Block a user