From 01e781fff3159ea8ff3118c42862f20ba8bb2f41 Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 18 Dec 2024 18:14:30 -0800 Subject: [PATCH] /e /E lint In look_engrs(), 'sym' isn't used anymore. --- src/pager.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pager.c b/src/pager.c index af885d4a6..4654e1f57 100644 --- a/src/pager.c +++ b/src/pager.c @@ -2089,7 +2089,6 @@ look_engrs(boolean nearby) winid win; struct engr *e; char lookbuf[BUFSZ], outbuf[BUFSZ]; - nhsym sym; coordxy x, y, lo_x, lo_y, hi_x, hi_y; boolean is_headstone; int glyph, count = 0; @@ -2108,9 +2107,6 @@ look_engrs(boolean nearby) continue; glyph = glyph_at(x, y); is_headstone = IS_GRAVE(svl.lastseentyp[x][y]); - sym = (is_headstone ? S_grave - : (levl[x][y].typ == CORR) ? S_engrcorr - : S_engroom); Sprintf(lookbuf, " (%s", is_headstone ? "grave" : "engraving"); (void) add_quoted_engraving(x, y, lookbuf, TRUE); /* the paren is used by farlook and add_quoted_engraving()