diff options
author | Vincent Untz <vuntz@gnome.org> | 2010-05-24 15:55:55 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-09 21:53:51 +0300 |
commit | 18cfb5ffd5e2fd5fe71feffa41bb47dc3ef9a0f0 (patch) | |
tree | 8a081c46be0be0aeef7727539c2c349ece8b434b | |
parent | 12f018699925713200710397cecaf27d0fcad143 (diff) | |
download | metacity-18cfb5ffd5e2fd5fe71feffa41bb47dc3ef9a0f0.tar.gz |
Fix uninitialized variables
-rw-r--r-- | src/core/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index 2c829e9b..74994bd9 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4085,6 +4085,9 @@ meta_window_begin_wireframe (MetaWindow *window) MetaRectangle new_xor; int display_width, display_height; + display_width = 0; + display_height = 0; + meta_window_get_client_root_coords (window, &window->display->grab_wireframe_rect); @@ -4111,6 +4114,9 @@ meta_window_update_wireframe (MetaWindow *window, MetaRectangle new_xor; int display_width, display_height; + display_width = 0; + display_height = 0; + window->display->grab_wireframe_rect.x = x; window->display->grab_wireframe_rect.y = y; window->display->grab_wireframe_rect.width = width; |