svn commit: r309382 - head/usr.bin/indent
Pedro F. Giffuni
pfg at FreeBSD.org
Fri Dec 2 01:52:33 UTC 2016
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;
More information about the svn-src-all
mailing list