Module Name:    src
Committed By:   kre
Date:           Fri Jan  1 13:43:34 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: decl.c

Log Message:
Build breakage fix (hopefully) - brain dead gcc.   NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/xlint/lint1/decl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/lint1/decl.c
diff -u src/usr.bin/xlint/lint1/decl.c:1.95 src/usr.bin/xlint/lint1/decl.c:1.96
--- src/usr.bin/xlint/lint1/decl.c:1.95	Fri Jan  1 11:51:15 2021
+++ src/usr.bin/xlint/lint1/decl.c	Fri Jan  1 13:43:34 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.95 2021/01/01 11:51:15 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.96 2021/01/01 13:43:34 kre Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.95 2021/01/01 11:51:15 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.96 2021/01/01 13:43:34 kre Exp $");
 #endif
 
 #include <sys/param.h>
@@ -616,6 +616,7 @@ popdecl(void)
 		/* there is nothing after external declarations */
 		lint_assert(0);
 		/* NOTREACHED */
+		/* XXX gcc is stupid enough not to know that, hence: */ break;
 	case MOS:
 	case MOU:
 	case ENUMCON:

Reply via email to