Skip to content

Commit

Permalink
Initialize variable in order to silence GCC 4.8.5 on NetBSD
Browse files Browse the repository at this point in the history
Sure looks like a false-positive too me. Reported by Jenz Guenther in PR
  • Loading branch information
mptre committed Sep 24, 2017
1 parent 1dfd87e commit 56cf3a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pick.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ const struct choice *
selected_choice(void)
{
const char *buf;
size_t choices_count, cursor_position, i, j, length, xscroll;
size_t cursor_position, i, j, length, xscroll;
size_t choices_count = 0;
size_t selection = 0;
size_t yscroll = 0;
int dofilter = 1;
Expand Down

0 comments on commit 56cf3a6

Please sign in to comment.