Skip to content

Commit

Permalink
fixup main: fixed erase index
Browse files Browse the repository at this point in the history
Signed-off-by: John Sanpe <sanpeqf@gmail.com>
  • Loading branch information
JohnSanpe committed May 6, 2024
1 parent 4bad80f commit ce75a7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ add_compile_options(
-std=gnu11
-Wall
-Wextra
-Werror
-Wno-unused-parameter
-Wno-sign-compare
-D_GNU_SOURCE
Expand Down
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ int main(int argc, char *const argv[])
speed = DEFAULTS_SPEED;
nspeed = 0;
flags = 0;

eidx = 0;
esize = 0;

bfdev_log_clr_level(&bfdev_log_default);
Expand Down

0 comments on commit ce75a7c

Please sign in to comment.