[master] c6cc66b2b Flexelint: polish 525: Negative indentation

Nils Goroll nils.goroll at uplex.de
Mon Apr 24 14:14:06 UTC 2023


commit c6cc66b2b4ca19708dcb7973af994104455d1e61
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Apr 24 16:12:17 2023 +0200

    Flexelint: polish 525: Negative indentation

diff --git a/lib/libvcc/vcc_vmod_sym.c b/lib/libvcc/vcc_vmod_sym.c
index 2b585ef00..ad2631f5f 100644
--- a/lib/libvcc/vcc_vmod_sym.c
+++ b/lib/libvcc/vcc_vmod_sym.c
@@ -134,9 +134,9 @@ func_restrict(struct vcc *tl, struct symbol *sym, vcc_kind_t kind, const struct
 	unsigned s;
 	while (vv) {
 		s = 0;
-		#define VCL_CTX(l,H) \
-			if (strcmp(vv->value,#l) == 0) s = VCL_MET_##H;
-		#include "tbl/vcl_context.h"
+#define VCL_CTX(l,H)							\
+		if (strcmp(vv->value, #l) == 0) s = VCL_MET_##H;
+#include "tbl/vcl_context.h"
 		if (!s) {
 			VSB_printf(tl->sb, "Error in vmod \"%s\", invalid scope for $Restrict: %s\n",sym->vmod_name, vv->value);
 			tl->err = 1;


More information about the varnish-commit mailing list