Skip to content

Commit

Permalink
Initialize last_dibit variable (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo authored Mar 14, 2022
1 parent a50f3b7 commit 59423fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dsd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ initState (dsd_state * state)
state->debug_header_errors = 0;
state->debug_header_critical_errors = 0;

state->last_dibit = 0;

#ifdef TRACE_DSD
state->debug_sample_index = 0;
state->debug_label_file = NULL;
Expand Down

0 comments on commit 59423fa

Please sign in to comment.