From: Ralph Corderoy Date: Tue, 23 Jan 2018 18:20:16 +0000 (+0000) Subject: mhshowsbr.c: Delete single-use global int `nolist'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/4f28cd1669089292f6e34f14617d4a8c1354647b?hp=42db3a2c36e26e0106b1e480407e32d3c8c09bef mhshowsbr.c: Delete single-use global int `nolist'. Was only used in one place for its value that was always zero. --- diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index ef010721..45c1a5cd 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -34,8 +34,6 @@ extern int debugsw; -int nolist = 0; - char *progsw = NULL; /* flags for moreproc/header display */ @@ -913,7 +911,7 @@ parse_display_string (CT ct, char *cp, int *xstdin, int *xlist, case 'l': /* display listing prior to displaying content */ - *xlist = !nolist; + *xlist = 1; break; case 's':