rogue3: initialize various pointers.
MSVC is afraid they might get used while uninitialized.
This commit is contained in:
parent
2d3d25c5e9
commit
00d28d536a
4 changed files with 6 additions and 6 deletions
|
|
@ -22,8 +22,8 @@
|
|||
void
|
||||
add_pack(struct linked_list *item, int silent)
|
||||
{
|
||||
struct linked_list *ip, *lp;
|
||||
struct object *obj, *op;
|
||||
struct linked_list *ip, *lp = NULL;
|
||||
struct object *obj, *op = NULL;
|
||||
int exact, from_floor;
|
||||
|
||||
if (item == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue