functions passed a chain explicitly NO_NONNULLS
Some functions are passed an obj or monst chain, and the callers typically don't check them against 0, so mark them explicitly as NO_NONNULLS (NO_NONNULLS expands to nothing, but it flags that some null arg analysis has been done)
This commit is contained in:
@@ -26,7 +26,7 @@ static void done_hangup(int);
|
||||
#endif
|
||||
#endif
|
||||
static void disclose(int, boolean);
|
||||
static void get_valuables(struct obj *);
|
||||
static void get_valuables(struct obj *) NO_NONNULLS;
|
||||
static void sort_valuables(struct valuable_data *, int);
|
||||
static void artifact_score(struct obj *, boolean, winid);
|
||||
static boolean fuzzer_savelife(int);
|
||||
|
||||
Reference in New Issue
Block a user