]> andersk Git - splint.git/blobdiff - src/cpplib.c
Fixed internal bug reporting for redefinition of __func__
[splint.git] / src / cpplib.c
index 66be54b05e2375c74b22b5b4ff88b2b73c79659c..fd8356f0f665ef586f20ada6f6d4d3bae7b745fd 100644 (file)
@@ -2837,7 +2837,7 @@ do_defineAux (cppReader *pfile, struct directive *keyword,
       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.  */
This page took 0.03414 seconds and 4 git commands to generate.