Skip to content

Commit

Permalink
Merge pull request #5866 from grom72/fix-coverity-374612
Browse files Browse the repository at this point in the history
pool: fix coverity issue 374612
  • Loading branch information
janekmi committed Aug 21, 2023
2 parents 0de65de + 49b17a4 commit 479a965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/pmempool/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ util_parse_ranges(const char *ptr, struct ranges *rangesp, struct range entire)
*next = '\0';
next++;
}
struct range range;
struct range range = {0};
if (util_parse_range(str, &range, entire)) {
ret = -1;
goto out;
Expand Down

0 comments on commit 479a965

Please sign in to comment.