From 10847b0e3d191ae07c929fad0862561aae969c96 Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 13 Sep 2003 22:55:45 +0000 Subject: [PATCH] gcc compilation warnings --- src/do.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/do.c b/src/do.c index dd9fb971c..8dbe4c6bf 100644 --- a/src/do.c +++ b/src/do.c @@ -83,9 +83,6 @@ boolean pushing; if (!fills_up || !pushing) { /* splashing occurs */ if (!u.uinwater) { if (pushing ? !Blind : cansee(rx,ry)) { - boolean moat = (ltyp != WATER) && - !Is_medusa_level(&u.uz) && !Is_waterlevel(&u.uz); - There("is a large splash as %s %s the %s.", the(xname(otmp)), fills_up? "fills":"falls into", what); @@ -195,7 +192,7 @@ const char *verb; } water_damage(obj, FALSE, FALSE); } else if (u.ux == x && u.uy == y && - (!u.utrap || u.utrap && u.utraptype != TT_PIT) && + (!u.utrap || (u.utrap && u.utraptype != TT_PIT)) && (t = t_at(x,y)) != 0 && t->tseen && (t->ttyp==PIT || t->ttyp==SPIKED_PIT)) { static const char * const the_your[2] = { "the", "your" }; -- 2.40.0