[master] 8c72c416d Coverity polish: 1605317 Overflowed constant
Nils Goroll
nils.goroll at uplex.de
Thu Sep 12 12:05:05 UTC 2024
commit 8c72c416d5c5d5e2791fd39272edf2084b0a903a
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Sep 12 14:01:19 2024 +0200
Coverity polish: 1605317 Overflowed constant
do not count backend removals for hinting the size of the array
diff --git a/vmod/vmod_directors_shard_cfg.c b/vmod/vmod_directors_shard_cfg.c
index 1a9e9fcbe..5f0c2f559 100644
--- a/vmod/vmod_directors_shard_cfg.c
+++ b/vmod/vmod_directors_shard_cfg.c
@@ -553,7 +553,6 @@ shardcfg_apply_change(struct vsl_log *vsl, struct sharddir *shardd,
re.hint++;
break;
case REMOVE_BE:
- re.hint--;
break;
default:
INCOMPL();
More information about the varnish-commit
mailing list