Skip to content

Commit

Permalink
compaction: fix uninitialized level_ptrs (#15)
Browse files Browse the repository at this point in the history
fix unused level_ptrs inited
  • Loading branch information
coderPonyGao authored and Fullstop000 committed Oct 12, 2019
1 parent 6dd6689 commit 9fffbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl Compaction {
grand_parent_index: 0,
seen_key: false,
overlapped_bytes: 0,
level_ptrs: vec![],
level_ptrs,
oldest_snapshot_alive: 0,
outputs: vec![],
builder: None,
Expand Down

0 comments on commit 9fffbd6

Please sign in to comment.