mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(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:
parent
8bb9605bfd
commit
5a7d7d0087
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user