[master] ced89f6 Rename variable to deconfuse Coverity

Martin Blix Grydeland martin at varnish-cache.org
Wed Oct 2 13:13:25 CEST 2013


commit ced89f600db3f3e39e76b815ba23b9a938d164a9
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Wed Oct 2 13:09:09 2013 +0200

    Rename variable to deconfuse Coverity

diff --git a/lib/libvarnishapi/vsl.c b/lib/libvarnishapi/vsl.c
index cfb424a..fb8e67a 100644
--- a/lib/libvarnishapi/vsl.c
+++ b/lib/libvarnishapi/vsl.c
@@ -100,14 +100,14 @@ VSL_New(void)
 }
 
 static void
-vsl_IX_free(vslf_list *list)
+vsl_IX_free(vslf_list *filters)
 {
 	struct vslf *vslf;
 
-	while (!VTAILQ_EMPTY(list)) {
-		vslf = VTAILQ_FIRST(list);
+	while (!VTAILQ_EMPTY(filters)) {
+		vslf = VTAILQ_FIRST(filters);
 		CHECK_OBJ_NOTNULL(vslf, VSLF_MAGIC);
-		VTAILQ_REMOVE(list, vslf, list);
+		VTAILQ_REMOVE(filters, vslf, list);
 		if (vslf->tags)
 			vbit_destroy(vslf->tags);
 		AN(vslf->vre);



More information about the varnish-commit mailing list