Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx> --- lib/ext2fs/gen_bitmap64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ext2fs/gen_bitmap64.c b/lib/ext2fs/gen_bitmap64.c index a2b89898..d9809084 100644 --- a/lib/ext2fs/gen_bitmap64.c +++ b/lib/ext2fs/gen_bitmap64.c @@ -948,7 +948,7 @@ errcode_t ext2fs_count_used_clusters(ext2_filsys fs, blk64_t start, { blk64_t next; blk64_t tot_set = 0; - errcode_t retval; + errcode_t retval = 0; while (start < end) { retval = ext2fs_find_first_set_block_bitmap2(fs->block_map, -- 2.31.1