(mouse_get_local): cleanup uninitialized warning.

Cleanup uninitialized warning with gcc compiler (gcc-4.4.7-4.el6).

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2016-03-19 18:11:35 +00:00 committed by Andrew Borodin
parent 8bb9605bfd
commit 5a7d7d0087

View File

@ -364,7 +364,10 @@ mouse_get_local (const Gpm_Event * global, const Widget * w)
local.buttons = global->buttons; local.buttons = global->buttons;
#ifdef HAVE_LIBGPM #ifdef HAVE_LIBGPM
local.clicks = 0;
local.margin = 0;
local.modifiers = 0; local.modifiers = 0;
local.vc = 0;
#endif #endif
local.x = global->x - w->x; local.x = global->x - w->x;
local.y = global->y - w->y; local.y = global->y - w->y;