Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make: remove extra semicolon after statement



details:   https://anonhg.NetBSD.org/src/rev/10a7e9970621
branches:  trunk
changeset: 359666:10a7e9970621
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 15 22:18:04 2022 +0000

description:
make: remove extra semicolon after statement

Lint will complain about this very soon.

No binary change.

diffstat:

 usr.bin/make/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c8aa34d2bd06 -r 10a7e9970621 usr.bin/make/main.c
--- a/usr.bin/make/main.c       Sat Jan 15 22:12:35 2022 +0000
+++ b/usr.bin/make/main.c       Sat Jan 15 22:18:04 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.572 2022/01/15 19:34:07 rillig Exp $        */
+/*     $NetBSD: main.c,v 1.573 2022/01/15 22:18:04 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -111,7 +111,7 @@
 #include "trace.h"
 
 /*     "@(#)main.c     8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: main.c,v 1.572 2022/01/15 19:34:07 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.573 2022/01/15 22:18:04 rillig Exp $");
 #if defined(MAKE_NATIVE) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
            "The Regents of the University of California.  "
@@ -1715,7 +1715,7 @@
        if (pipe(pipefds) == -1) {
                *error = str_concat3(
                    "Couldn't create pipe for \"", cmd, "\"");
-               return bmake_strdup("");;
+               return bmake_strdup("");
        }
 
        Var_ReexportVars();



Home | Main Index | Thread Index | Old Index