projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b886212
)
window.c: Simplify window_create()
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 25 Jul 2013 23:53:10 +0000
(16:53 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 25 Jul 2013 23:53:10 +0000
(16:53 -0700)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index 0590090f024d938a7ff1355d7a4f860c4c3983e9..8d956aed94fb2a5c610352d2fcbdb8886f8407d8 100644
(file)
--- 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 *