From: keni Date: Sat, 5 Mar 2011 21:54:34 +0000 (+0000) Subject: another compiler warning X-Git-Tag: MOVE2GIT~248 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=209342be112249a0fdd6dc2e4e26afa1e5a1802c;p=nethack another compiler warning --- diff --git a/src/zap.c b/src/zap.c index 5cede13c1..1c7c50b7b 100644 --- a/src/zap.c +++ b/src/zap.c @@ -3901,7 +3901,7 @@ const char *msg; unearth_objs(x, y); if (Underwater) vision_recalc(1); newsym(x,y); - if (cansee(x,y)) Norep(msg); + if (cansee(x,y)) Norep("%s", msg); if ((otmp = sobj_at(BOULDER, x, y)) != 0) { if (cansee(x,y)) pline("%s settles...", An(xname(otmp))); do {