supress warning 'variable may be used uninitialized'

This commit is contained in:
Andrzej Rybczak
2011-05-31 15:24:45 +02:00
parent d08b2e80fd
commit 1ea4d55aab

View File

@@ -323,6 +323,7 @@ int main(int argc, char *argv[])
# endif // !WIN32 # endif // !WIN32
MEVENT mouse_event, old_mouse_event; MEVENT mouse_event, old_mouse_event;
old_mouse_event.bstate = 0;
mouseinterval(0); mouseinterval(0);
if (Config.mouse_support) if (Config.mouse_support)
mousemask(ALL_MOUSE_EVENTS, 0); mousemask(ALL_MOUSE_EVENTS, 0);