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(1): fix compilation with GCC 10 and -Wimpl...
details: https://anonhg.NetBSD.org/src/rev/4d5a311fb783
branches: trunk
changeset: 976869:4d5a311fb783
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Oct 05 19:39:30 2020 +0000
description:
make(1): fix compilation with GCC 10 and -Wimplicit-fallthrough=4
diffstat:
usr.bin/make/var.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f283ec2127ca -r 4d5a311fb783 usr.bin/make/var.c
--- a/usr.bin/make/var.c Mon Oct 05 19:30:37 2020 +0000
+++ b/usr.bin/make/var.c Mon Oct 05 19:39:30 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.567 2020/10/05 19:27:47 rillig Exp $ */
+/* $NetBSD: var.c,v 1.568 2020/10/05 19:39:30 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -121,7 +121,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.567 2020/10/05 19:27:47 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.568 2020/10/05 19:39:30 rillig Exp $");
#define VAR_DEBUG1(fmt, arg1) DEBUG1(VAR, fmt, arg1)
#define VAR_DEBUG2(fmt, arg1, arg2) DEBUG2(VAR, fmt, arg1, arg2)
@@ -1399,7 +1399,7 @@
break;
default:
VarREError(xrv, &args->re, "Unexpected regex error");
- /* fall through */
+ /* FALLTHROUGH */
case REG_NOMATCH:
nosub:
SepBuf_AddStr(buf, wp);
Home |
Main Index |
Thread Index |
Old Index