[master] b8c80cc Minor FlexeLinting

Poul-Henning Kamp phk at FreeBSD.org
Fri Apr 20 10:22:19 UTC 2018


commit b8c80ccb9c17b49ceab9f31de54cbd2799b9ad80
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Apr 20 10:14:08 2018 +0000

    Minor FlexeLinting

diff --git a/bin/varnishd/cache/cache_fetch_proc.c b/bin/varnishd/cache/cache_fetch_proc.c
index 78f6055..d9db19f 100644
--- a/bin/varnishd/cache/cache_fetch_proc.c
+++ b/bin/varnishd/cache/cache_fetch_proc.c
@@ -35,8 +35,6 @@
 #include "cache_filter.h"
 #include "vcli_serve.h"
 
-#include "vct.h"
-
 static unsigned fetchfrag;
 
 /*--------------------------------------------------------------------
diff --git a/lib/libvarnish/vus.c b/lib/libvarnish/vus.c
index 6315d95..f233c5f 100644
--- a/lib/libvarnish/vus.c
+++ b/lib/libvarnish/vus.c
@@ -121,7 +121,7 @@ VUS_connect(const char *path, int msec)
 	if (msec != 0)
 		(void)VTCP_nonblocking(s);
 
-	i = connect(s, (const struct sockaddr *)&uds, sl);
+	i = connect(s, (const void*)&uds, sl);
 	if (i == 0)
 		return (s);
 	if (errno != EINPROGRESS) {
diff --git a/lib/libvmod_debug/vmod_debug_dyn.c b/lib/libvmod_debug/vmod_debug_dyn.c
index 75dda13..5fa8833 100644
--- a/lib/libvmod_debug/vmod_debug_dyn.c
+++ b/lib/libvmod_debug/vmod_debug_dyn.c
@@ -262,7 +262,7 @@ xyzzy_dyn_uds__fini(struct xyzzy_debug_dyn_uds **udsp)
 	free(uds->vcl_name);
 	AZ(pthread_mutex_destroy(&uds->mtx));
 	FREE_OBJ(uds);
-	udsp = NULL;
+	*udsp = NULL;
 }
 
 VCL_BACKEND v_matchproto_(td_debug_dyn_uds_backend)


More information about the varnish-commit mailing list