From 04ade6cbee7b7637b23fbcbef587887969fe1ce4 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 5 Oct 2020 19:39:30 +0000 Subject: [PATCH] make(1): fix compilation with GCC 10 and -Wimplicit-fallthrough=4 --- usr.bin/make/var.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 6c444d551941..2f8fdd1dafa6 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -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 @@ tryagain: break; default: VarREError(xrv, &args->re, "Unexpected regex error"); - /* fall through */ + /* FALLTHROUGH */ case REG_NOMATCH: nosub: SepBuf_AddStr(buf, wp);