[master] dfcf44c Flexelint cleanup

Federico G. Schwindt fgsch at lodoss.net
Sun Oct 2 18:31:05 CEST 2016


commit dfcf44c67263e91b266d2c8b86cbe0cd39b523b7
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Oct 2 16:22:26 2016 +0100

    Flexelint cleanup

diff --git a/bin/varnishd/flint.lnt b/bin/varnishd/flint.lnt
index 360706e..80d5c78 100644
--- a/bin/varnishd/flint.lnt
+++ b/bin/varnishd/flint.lnt
@@ -31,14 +31,6 @@
 // XXX: I think this is a flexelint bug:
 -esym(522, vbit_clr)
 
-// Stuff used outside varnishd
--esym(759, BackSlash)
--esym(765, BackSlash)
--esym(759, BackSlashDecode)
--esym(765, BackSlashDecode)
--esym(757, base64*)
-
-
 // Stuff used by compiled VCL
 -esym(757, VRT_*)
 -esym(759, VRT_*)
@@ -52,7 +44,6 @@
 
 // FLINT Bug20090910_838
 -efunc(838, VRT_purge)
--efunc(838, VRT_purge_string)
 
 // Stuff in VMODs which is used through dl*(3) functions
 -esym(754, Vmod_*_Func::*)
@@ -89,7 +80,6 @@
 -sem(exp_timer, thread_mono)
 -sem(wrk_herdtimer_thread, thread_mono)
 -sem(wrk_herder_thread, thread_mono)
--esym(458, VSL_stats)
 -esym(458, heritage)
 -esym(458, name_key)
 
@@ -144,7 +134,6 @@
 
 // cache_vcl.c
 -esym(528, vcl_call_method)	// Not referenced
--esym(528, vcl_handlingname)	// Not referenced
 
 -e441	//  for clause irregularity: loop variable '___' not found in 2nd for expression
 
diff --git a/bin/varnishncsa/flint.lnt b/bin/varnishncsa/flint.lnt
index fd2c864..5faddb8 100644
--- a/bin/varnishncsa/flint.lnt
+++ b/bin/varnishncsa/flint.lnt
@@ -8,14 +8,7 @@
 -e785	// Too few initializers for aggregate
 -e786	// String concatenation within initializer
 
-// cache_center.c
--efunc(525, CNT_Session)	// Negative indentation from line
--efunc(525, http_FilterHeader)	// Negative indentation from line
--efunc(539, http_FilterHeader)	// Positive indentation from line
-
 // cache_vcl.c
--efunc(525, vcl_handlingname)	// Negative indentation from line
--esym(528, vcl_handlingname)	// Not referenced
 -e641	// Converting enum 'cli_status_e' to int
 
 // Review all below this line ///////////////////////////////////////////////
diff --git a/bin/varnishtest/flint.lnt b/bin/varnishtest/flint.lnt
index a527ec3..3c31604 100644
--- a/bin/varnishtest/flint.lnt
+++ b/bin/varnishtest/flint.lnt
@@ -3,7 +3,6 @@
 -function(__assert(1), vtc_log(2))
 
 -esym(850, av)
--esym(528, iter_call)		// Flexelint bug
 
 -esym(534, snprintf)		// Only for varnishtest, and not really nice
 
diff --git a/lib/libvarnish/flint.lnt b/lib/libvarnish/flint.lnt
index c98d791..881e8f8 100644
--- a/lib/libvarnish/flint.lnt
+++ b/lib/libvarnish/flint.lnt
@@ -54,14 +54,7 @@
 // cache.h
 -emacro(506, INCOMPL) // Constant value Boolean
 
-// cache_center.c
--efunc(525, CNT_Session)	// Negative indentation from line
--efunc(525, http_FilterFields)	// Negative indentation from line
--efunc(539, http_FilterFields)	// Positive indentation from line
-
 // cache_vcl.c
--efunc(525, vcl_handlingname)	// Negative indentation from line
--esym(528, vcl_handlingname)	// Not referenced
 -e641	// Converting enum 'cli_status_e' to int
 
 // Review all below this line ///////////////////////////////////////////////



More information about the varnish-commit mailing list