Skip to content

Commit

Permalink
recent dead code(trunk only)
Browse files Browse the repository at this point in the history
remove function zero_anything() completely, as it isn't needed any longer
  • Loading branch information
nethack.allison committed Jul 11, 2006
1 parent 65e12e0 commit e9a6ed3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion include/extern.h
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,6 @@ E anything *FDECL(uint_to_any, (unsigned));
E anything *FDECL(long_to_any, (long));
E anything *FDECL(monst_to_any, (struct monst *));
E anything *FDECL(obj_to_any, (struct obj *));
E void FDECL(zero_anything, (ANY_P *));
E boolean FDECL(revive_nasty, (int,int,const char*));
E void FDECL(movobj, (struct obj *,XCHAR_P,XCHAR_P));
E boolean FDECL(may_dig, (XCHAR_P,XCHAR_P));
Expand Down
7 changes: 0 additions & 7 deletions src/hack.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ struct obj *obj;
return &tmp_anything;
}

void
zero_anything(any)
anything *any;
{
*any = zeroany;
}

boolean
revive_nasty(x, y, msg)
int x,y;
Expand Down

0 comments on commit e9a6ed3

Please sign in to comment.