analyzer lint for p*.c

This commit is contained in:
PatR
2025-01-22 12:15:39 -08:00
parent 3109e706e9
commit c1d9ba9ce7
2 changed files with 5 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 potion.c $NHDT-Date: 1726356849 2024/09/14 23:34:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.270 $ */
/* NetHack 3.7 potion.c $NHDT-Date: 1737605675 2025/01/22 20:14:35 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.274 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2013. */
/* NetHack may be freely redistributed. See license for details. */
@@ -2236,6 +2236,7 @@ hold_potion(
obj_extract_self(potobj);
/* re-insert into inventory, possibly merging with compatible stack */
potobj = hold_another_object(potobj, drop_fmt, drop_arg, hold_msg);
nhUse(potobj);
flags.pickup_burden = save_pickup_burden;
update_inventory();
return;