Skip to content

Commit

Permalink
Update hdl_dump.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored May 23, 2024
1 parent d83a3d7 commit da7c6f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hdl_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,8 @@ progress_cb(progress_t *pgs, /*@unused@*/ void *data)
if (pgs->remaining != -1) {
fprintf(stdout, "[");
int pos = barWidth * (pgs->pc_completed);
for (int i = 0; i < barWidth; ++i)
int i = 0
for (int i; i < barWidth; ++i)
{
if (i < pos)
fprintf(stdout, "=");
Expand Down

0 comments on commit da7c6f9

Please sign in to comment.