[metacity] window: fix warning about uninitialized variable usage



commit e671d9f51d5903b73b840ef58c6c798da3056add
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Oct 31 19:22:03 2014 +0200

    window: fix warning about uninitialized variable usage

 src/core/window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 06e1246..1682d70 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -7311,6 +7311,8 @@ update_resize (MetaWindow *window,
       break;
     }
 
+  remaining = 0;
+
   if (!check_moveresize_frequency (window, &remaining) && !force)
     {
       /* we are ignoring an event here, so we schedule a


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]