server: Remove superflous empty region allocation.

This commit is contained in:
Marcus Meissner 2008-05-14 14:44:43 +02:00 committed by Alexandre Julliard
parent 95beaa21b8
commit a82455e627

View file

@ -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 )