Skip to content

Commit

Permalink
pool: fix coverity issue 374612
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Aug 21, 2023
1 parent 0de65de commit 49b17a4
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 49b17a4

Please sign in to comment.