[master] dcd1718bd White-space OCD

Poul-Henning Kamp phk at FreeBSD.org
Tue Aug 10 07:28:09 UTC 2021


commit dcd1718bda341d0a6925cdb1845bcf7f1b2362ab
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Aug 10 07:27:00 2021 +0000

    White-space OCD

diff --git a/bin/varnishd/storage/storage_simple.c b/bin/varnishd/storage/storage_simple.c
index 67da6f2f4..7114398d8 100644
--- a/bin/varnishd/storage/storage_simple.c
+++ b/bin/varnishd/storage/storage_simple.c
@@ -691,7 +691,7 @@ SML_panic(struct vsb *vsb, const struct objcore *oc)
 	    #U, o->va_##l##_len, o->va_##l);
 
 #define OBJ_AUXATTR(U, l)						\
-        do {								\
+	do {								\
 		if (o->aa_##l != NULL) sml_panic_st(vsb, #U, o->aa_##l);\
 	} while(0);
 
diff --git a/lib/libvcc/vcc_compile.c b/lib/libvcc/vcc_compile.c
index eda2ff1f0..60427d526 100644
--- a/lib/libvcc/vcc_compile.c
+++ b/lib/libvcc/vcc_compile.c
@@ -83,14 +83,14 @@ vcc_vcl_met2c(struct vsb *vsb, unsigned method)
 
 	//lint -e{774} Boolean within 'if' always evaluates to False
 #define VCL_MET_MAC(l,U,t,b)				\
-        do {						\
+	do {						\
 		if (method & VCL_MET_##U) {		\
 			if (d)				\
 				VSB_putc(vsb, '|');	\
 			VSB_cat(vsb, "VCL_MET_" #U);	\
 			d = 1;				\
 		}					\
-        } while (0);
+	} while (0);
 #include "tbl/vcl_returns.h"
 	AN(d);
 }
diff --git a/vmod/vmod_blob.c b/vmod/vmod_blob.c
index 393f7fb23..2f97979a2 100644
--- a/vmod/vmod_blob.c
+++ b/vmod/vmod_blob.c
@@ -128,7 +128,7 @@ parse_encoding(VCL_ENUM e)
 static enum case_e
 parse_case(VCL_ENUM e)
 {
-#define VMODENUM(n) 				\
+#define VMODENUM(n)				\
 	do {					\
 		if (e == VENUM(n)) return (n);	\
 	} while (0);


More information about the varnish-commit mailing list