]> err.no Git - varnish/commitdiff
More flexelinting.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 17:46:51 +0000 (17:46 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 17:46:51 +0000 (17:46 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3487 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/flint.lnt
varnish-cache/lib/libvcl/vcc_compile.c

index bf012142587b511abfa9648b4e2e22b68a96a3e4..f27ed57d9ae0532f22141fe704becd72784cab95 100644 (file)
@@ -40,7 +40,7 @@
 -esym(458, heritage)
 -esym(458, name_key)
 //////////////
--passes=1
+-passes=3
 
 +libh mgt_event.h
 +libh ../../config.h
@@ -54,6 +54,7 @@
 -emacro(527, WRONG)    // unreachable code
 
 -emacro(702, WEXITSTATUS)      // signed shift right 
+-efunc(525, VCC_Return_Name)   // Negative indent
 
 
 // -header(../../config.h)
index a658acb4306072ab3572634202dc44bc579f4c26..a3f3f0278fb21dd5d1c49c06d9ca8dcc2e4cbdc1 100644 (file)
@@ -668,8 +668,9 @@ VCC_Return_Name(unsigned method)
 #define VCL_RET_MAC(l, U) case VCL_RET_##U: return(#l);
 #include "vcl_returns.h"
 #undef VCL_RET_MAC
+       default:
+               return (NULL);
        }
-       return (NULL);
 }
 
 /*--------------------------------------------------------------------