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:
@@ -23,10 +23,10 @@ static void save_bubbles(NHFILE *, xint8);
|
||||
static void save_stairs(NHFILE *);
|
||||
static void save_bc(NHFILE *);
|
||||
static void saveobj(NHFILE *, struct obj *);
|
||||
static void saveobjchn(NHFILE *, struct obj **);
|
||||
static void saveobjchn(NHFILE *, struct obj **) NO_NONNULLS;
|
||||
static void savemon(NHFILE *, struct monst *);
|
||||
static void savemonchn(NHFILE *, struct monst *);
|
||||
static void savetrapchn(NHFILE *, struct trap *);
|
||||
static void savemonchn(NHFILE *, struct monst *) NO_NONNULLS;
|
||||
static void savetrapchn(NHFILE *, struct trap *) NO_NONNULLS;
|
||||
static void save_gamelog(NHFILE *);
|
||||
static void savegamestate(NHFILE *);
|
||||
static void savelev_core(NHFILE *, xint8);
|
||||
|
||||
Reference in New Issue
Block a user