Marcus Meissner : server: Remove superflous empty region allocation.

Alexandre Julliard julliard at winehq.org
Wed May 14 15:08:15 CDT 2008


Module: wine
Branch: master
Commit: a82455e627757db4547fb580c838e8daa6b50b69
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a82455e627757db4547fb580c838e8daa6b50b69

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Wed May 14 14:44:43 2008 +0200

server: Remove superflous empty region allocation.

---

 server/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/window.c b/server/window.c
index 9530c61..a000cfc 100644
--- a/server/window.c
+++ b/server/window.c
@@ -1105,7 +1105,7 @@ static int add_update_region( struct window *win, struct region *region )
 static void crop_children_update_region( struct window *win, rectangle_t *rect )
 {
     struct window *child;
-    struct region *tmp = create_empty_region();
+    struct region *tmp;
     rectangle_t child_rect;
 
     LIST_FOR_EACH_ENTRY( child, &win->children, struct window, entry )




More information about the wine-cvs mailing list