From 5c27a3693693bd1f2611667d87ecaac541d2d86f Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 25 Nov 2018 13:39:48 -0500 Subject: [PATCH] try to silence clang warning --- src/pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pager.c b/src/pager.c index b6776b497..fc1711723 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1357,7 +1357,7 @@ boolean without_asking; * meant to support in-game mythology, and not * available from data.base or other sources. */ - if (name && pm && is_orc(pm) && (strlen(name) < (BUFSZ - 1)) + if ((name && pm && is_orc(pm) && (strlen(name) < (BUFSZ - 1))) && ((bp = strstri(name, " of ")) != 0) || (bp2 = strstri(name, " the Fence")) != 0) { char fullname[BUFSZ];