r3487 - in trunk/varnish-cache: bin/varnishd lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Sun Dec 21 18:46:52 CET 2008


Author: phk
Date: 2008-12-21 18:46:51 +0100 (Sun, 21 Dec 2008)
New Revision: 3487

Modified:
   trunk/varnish-cache/bin/varnishd/flint.lnt
   trunk/varnish-cache/lib/libvcl/vcc_compile.c
Log:
More flexelinting.



Modified: trunk/varnish-cache/bin/varnishd/flint.lnt
===================================================================
--- trunk/varnish-cache/bin/varnishd/flint.lnt	2008-12-21 17:40:50 UTC (rev 3486)
+++ trunk/varnish-cache/bin/varnishd/flint.lnt	2008-12-21 17:46:51 UTC (rev 3487)
@@ -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)

Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c	2008-12-21 17:40:50 UTC (rev 3486)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c	2008-12-21 17:46:51 UTC (rev 3487)
@@ -668,8 +668,9 @@
 #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);
 }
 
 /*--------------------------------------------------------------------



More information about the varnish-commit mailing list