build clean-up (trunk only)
../src/detect.c(715) : warning C4101: 'obj' : unreferenced local variable
This commit is contained in:
@@ -712,7 +712,6 @@ register struct obj *sobj;
|
|||||||
/* sobj is null if crystal ball, *scroll if gold detection scroll */
|
/* sobj is null if crystal ball, *scroll if gold detection scroll */
|
||||||
{
|
{
|
||||||
register struct trap *ttmp;
|
register struct trap *ttmp;
|
||||||
register struct obj *obj;
|
|
||||||
struct monst *mon;
|
struct monst *mon;
|
||||||
int door, glyph, tr;
|
int door, glyph, tr;
|
||||||
int uw = u.uinwater, cursed_src = sobj && sobj->cursed;
|
int uw = u.uinwater, cursed_src = sobj && sobj->cursed;
|
||||||
|
|||||||
Reference in New Issue
Block a user