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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to