From 59541dfa14bb124dcf2fe00bd2cb99e6608efc32 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 12 Apr 2014 10:06:20 -0700 Subject: [PATCH] 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. --- src/core/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/window.c b/src/core/window.c index cedd22613..c9494be97 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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);