window: Initialize the result here

The vfuncs simply |= their results into the result variable, so we
need to make sure we start out with nothing.
This commit is contained in:
Jasper St. Pierre 2014-04-12 10:06:20 -07:00
parent becce7afa0
commit 59541dfa14

View File

@ -4229,7 +4229,7 @@ meta_window_move_resize_internal (MetaWindow *window,
MetaRectangle new_rect;
MetaRectangle old_rect;
MetaRectangle requested_rect;
MetaMoveResizeResultFlags result;
MetaMoveResizeResultFlags result = 0;
MetaFrameBorders borders;
g_return_if_fail (!window->override_redirect);