X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftty%2Flib_twait.c;h=1e4546dec0c00517d6bef2e20fe8ce73386162c1;hp=440e4101408abdf42a9bd429d9bea1ce55298ead;hb=9378ce0407e95f6b1e2c20ec5035f0916d278944;hpb=1051e5f924808ea27fcf8f5b624e63d07788b86e diff --git a/ncurses/tty/lib_twait.c b/ncurses/tty/lib_twait.c index 440e4101..1e4546de 100644 --- a/ncurses/tty/lib_twait.c +++ b/ncurses/tty/lib_twait.c @@ -62,7 +62,7 @@ # endif #endif -MODULE_ID("$Id: lib_twait.c,v 1.53 2007/05/12 19:02:31 tom Exp $") +MODULE_ID("$Id: lib_twait.c,v 1.54 2007/08/11 16:32:48 tom Exp $") #if HAVE_GETTIMEOFDAY # define PRECISE_GETTIME 1 @@ -152,7 +152,7 @@ _nc_timed_wait(int mode, { int fd; int count; - int result; + int result = 0; TimeType t0; #ifdef NCURSES_WGETCH_EVENTS