From 4162483d740776e32d69cf8744de25460c422aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 25 Jul 2013 16:53:10 -0700 Subject: [PATCH] window.c: Simplify window_create() --- clients/window.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/clients/window.c b/clients/window.c index 0590090f..8d956aed 100644 --- a/clients/window.c +++ b/clients/window.c @@ -4237,13 +4237,7 @@ window_create_internal(struct display *display, struct window * window_create(struct display *display) { - struct window *window; - - window = window_create_internal(display, NULL, TYPE_NONE); - if (!window) - return NULL; - - return window; + return window_create_internal(display, NULL, TYPE_NONE); } struct window *