From bc31a0b8fc21ee2f040ae1dea10e7d5a3b0d248e Mon Sep 17 00:00:00 2001 From: pfg Date: Fri, 2 Dec 2016 01:52:32 +0000 Subject: [PATCH] indent(1): Do not define opchar unless it will be used. "opchar" is only used once depending on "undef" macro being defined. Conditionalize it in the same way. Submitted by: Piotr Sephaniak --- usr.bin/indent/lexi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c index ec5996931eec..b9ff1de94dcf 100644 --- a/usr.bin/indent/lexi.c +++ b/usr.bin/indent/lexi.c @@ -57,7 +57,9 @@ __FBSDID("$FreeBSD$"); #include "indent.h" #define alphanum 1 +#ifdef undef #define opchar 3 +#endif struct templ { const char *rwd;