Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/m4 remove the braces I accidentally added.



details:   https://anonhg.NetBSD.org/src/rev/5917c33042ee
branches:  trunk
changeset: 827295:5917c33042ee
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 23 02:38:46 2017 +0000

description:
remove the braces I accidentally added.

diffstat:

 usr.bin/m4/eval.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 0ef166593a2f -r 5917c33042ee usr.bin/m4/eval.c
--- a/usr.bin/m4/eval.c Mon Oct 23 01:07:27 2017 +0000
+++ b/usr.bin/m4/eval.c Mon Oct 23 02:38:46 2017 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: eval.c,v 1.66 2008/08/21 21:01:47 espie Exp $ */
-/*     $NetBSD: eval.c,v 1.25 2017/10/22 23:01:34 christos Exp $       */
+/*     $NetBSD: eval.c,v 1.26 2017/10/23 02:38:46 christos Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@
 #include "nbtool_config.h"
 #endif
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: eval.c,v 1.25 2017/10/22 23:01:34 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.26 2017/10/23 02:38:46 christos Exp $");
 
 #include <sys/types.h>
 #include <ctype.h>
@@ -700,9 +700,9 @@
        cycle {
                if (argc < 5)
                        m4errx(1, "wrong number of args for ifelse");
-               if (STREQ(argv[2], argv[3])) {
+               if (STREQ(argv[2], argv[3]))
                        pbstr(argv[4]);
-               } else if (argc == 6)
+               else if (argc == 6)
                        pbstr(argv[5]);
                else if (argc > 6) {
                        argv += 3;



Home | Main Index | Thread Index | Old Index