Skip to content

Commit

Permalink
Coverity polish: 1605317 Overflowed constant
Browse files Browse the repository at this point in the history
do not count backend removals for hinting the size of the array
  • Loading branch information
nigoroll committed Sep 12, 2024
1 parent c2e5338 commit 8c72c41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vmod/vmod_directors_shard_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8c72c41

Please sign in to comment.