summaryrefslogtreecommitdiff
path: root/devel/splint/patches/patch-ab
blob: 4aeb5cae11dcaf5c7abcc928bb9a9212a8f7efd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2005/08/31 19:08:21 jschauma Exp $

--- src/cpplib.c.orig	2005-08-31 15:04:07.000000000 -0400
+++ src/cpplib.c	2005-08-31 15:04:30.000000000 -0400
@@ -2828,7 +2828,7 @@
       else if (hp->type == T_CONST)
 	ok = !CPPOPTIONS (pfile)->done_initializing;
       else {
-	BADBRANCH;
+	ok = FALSE; /* Redefining anything else is bad. */
       }
 
       /* Print the warning if it's not ok.  */