From f46306945c95adc9a6232ce86f908f2a51a771dd Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 6 May 2005 06:30:51 +0000 Subject: Stage 1 compilation fixes for gcc 4.0 : * more casts signed<->unsigned types * make choose_iso_in_directory()'s return type "void" * change order of .h files in network.c so strndup is included correctly * newt: initialize some variables properly * compile pcmcia and ppp with -Wno-deprecated-declarations, since they use deprecated types such as u_int32_t --- mdk-stage1/newt/entry.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdk-stage1/newt/entry.c') diff --git a/mdk-stage1/newt/entry.c b/mdk-stage1/newt/entry.c index 1b33f1c6f..0ee449cf9 100644 --- a/mdk-stage1/newt/entry.c +++ b/mdk-stage1/newt/entry.c @@ -197,6 +197,8 @@ static struct eventResult entryEvent(newtComponent co, struct entry * en = co->data; struct eventResult er; int ch; + er.result = ER_IGNORED; + er.u.focus = NULL; if (ev.when == EV_NORMAL) { switch (ev.event) { -- cgit v1.2.1