Date: Fri, 2 Dec 2016 01:52:32 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309382 - head/usr.bin/indent Message-ID: <201612020152.uB21qWkb043812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Dec 2 01:52:32 2016 New Revision: 309382 URL: https://svnweb.freebsd.org/changeset/base/309382 Log: 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 Modified: head/usr.bin/indent/lexi.c Modified: head/usr.bin/indent/lexi.c ============================================================================== --- head/usr.bin/indent/lexi.c Fri Dec 2 01:38:40 2016 (r309381) +++ head/usr.bin/indent/lexi.c Fri Dec 2 01:52:32 2016 (r309382) @@ -57,7 +57,9 @@ __FBSDID("$FreeBSD$"); #include "indent.h" #define alphanum 1 +#ifdef undef #define opchar 3 +#endif struct templ { const char *rwd;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612020152.uB21qWkb043812>