srogue: initialize some pointers.

MSVC complained that they might be used uninitialized.
This commit is contained in:
John "Elwin" Edwards 2015-08-01 21:23:55 -04:00
parent 097b315235
commit dea62ef934
2 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ struct linked_list *item;
bool silent;
{
reg struct linked_list *ip, *lp;
reg struct object *obj, *op;
reg struct object *obj, *op = NULL;
bool from_floor;
char delchar;
@ -292,7 +292,7 @@ get_item(purpose, type)
char *purpose;
int type;
{
reg struct linked_list *obj, *pit, *savepit;
reg struct linked_list *obj, *pit, *savepit = NULL;
struct object *pob;
int ch, och, anr, cnt;