From 63b0db8724e125b7a6801088e2e6991d9a1abd29 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen <paxed@alt.org> Date: Tue, 24 Jan 2017 20:56:15 +0200 Subject: [PATCH] Fix Valgrind complaint of uninitialized memory --- win/tty/wintty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tty/wintty.c b/win/tty/wintty.c index adec33c22..3ac407a56 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -478,7 +478,7 @@ makepicks: setup_rolemenu(win, TRUE, RACE, GEND, ALGN); /* add miscellaneous menu entries */ role_menu_extra(ROLE_RANDOM, win, TRUE); - any.a_int = 0; /* separator, not a choice */ + any = zeroany; /* separator, not a choice */ add_menu(win, NO_GLYPH, &any, 0, 0, ATR_NONE, "", MENU_UNSELECTED); role_menu_extra(RS_RACE, win, FALSE); -- 2.40.0