| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/squashfs-tools/mksquashfs.c |
| 2 | +++ b/squashfs-tools/mksquashfs.c | ||||
| 3 | @@ -1822,7 +1822,7 @@ int main(int argc, char *argv[]) | ||||
| 4 | { | ||||
| 5 | struct stat buf, source_buf; | ||||
| 6 | int i; | ||||
| 7 | - squashfs_super_block sBlk; | ||||
| 8 | + squashfs_super_block sBlk = {}; | ||||
| 9 | char *b, *root_name = NULL; | ||||
| 10 | int be, nopad = FALSE, keep_as_directory = FALSE, orig_be; | ||||
| 11 | squashfs_inode inode; | ||||