Skip to content

Commit

Permalink
dosinst: Fix that installfunc is initialized twice
Browse files Browse the repository at this point in the history
text and arg were not initialized.
  • Loading branch information
k-takata committed Oct 30, 2018
1 parent fb7b879 commit 098c612
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dosinst.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ add_dummy_choice(void)
choices[choice_count].installfunc = NULL;
choices[choice_count].active = 0;
choices[choice_count].changefunc = NULL;
choices[choice_count].installfunc = NULL;
choices[choice_count].text = NULL;
choices[choice_count].arg = 0;
++choice_count;
}

Expand Down

0 comments on commit 098c612

Please sign in to comment.