Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses/director Remove extra parens



details:   https://anonhg.NetBSD.org/src/rev/26c5f458e184
branches:  trunk
changeset: 1015494:26c5f458e184
user:      roy <roy%NetBSD.org@localhost>
date:      Sat Oct 24 14:45:06 2020 +0000

description:
Remove extra parens

diffstat:

 tests/lib/libcurses/director/testlang_parse.y |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 425b8c26be97 -r 26c5f458e184 tests/lib/libcurses/director/testlang_parse.y
--- a/tests/lib/libcurses/director/testlang_parse.y     Sat Oct 24 14:43:53 2020 +0000
+++ b/tests/lib/libcurses/director/testlang_parse.y     Sat Oct 24 14:45:06 2020 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: testlang_parse.y,v 1.18 2020/10/24 04:46:17 blymn Exp $        */
+/*     $NetBSD: testlang_parse.y,v 1.19 2020/10/24 14:45:06 roy Exp $  */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -990,7 +990,7 @@
 
        int create_check_file = 0;
 
-       if ((check_file_flag == (GEN_CHECK_FILE | FORCE_GEN)))
+       if (check_file_flag == (GEN_CHECK_FILE | FORCE_GEN))
                create_check_file = 1;
        else if ((check_fd = open(check_file, O_RDONLY, 0)) < 0){
                if (check_file_flag & GEN_CHECK_FILE)



Home | Main Index | Thread Index | Old Index