mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
Fix uninitialized vars
This fixes crashes when listing btree nodes. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
abd9d5ba97
commit
8d86f9c15d
@ -466,9 +466,9 @@ int cmd_list(int argc, char *argv[])
|
||||
enum btree_id btree_id_start = 0;
|
||||
enum btree_id btree_id_end = BTREE_ID_NR;
|
||||
enum btree_id btree_id;
|
||||
unsigned level;
|
||||
unsigned level = 0;
|
||||
struct bpos start = POS_MIN, end = POS_MAX;
|
||||
u64 inum;
|
||||
u64 inum = 0;
|
||||
int mode = 0, opt;
|
||||
|
||||
opt_set(opts, nochanges, true);
|
||||
|
Loading…
Reference in New Issue
Block a user