Fix possible uninitialized variable usage caught by David Binderman <dcb314@hotmail.com>.

master
Michael Jennings 8 years ago
parent e873c27bb3
commit 557e0c7a1d
  1. 2
      src/menus.c

@ -1247,7 +1247,7 @@ menu_action(menuitem_t *item)
void
menu_invoke(int x, int y, Window win, menu_t *menu, Time timestamp)
{
int root_x, root_y;
int root_x = x, root_y = y;
Window unused;
REQUIRE(menu != NULL);

Loading…
Cancel
Save