diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-09-02 09:32:32 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-09-02 09:32:32 +0200 |
commit | 642cad350d5554f5b49d0c79f441f5b888643daf (patch) | |
tree | 72be0f402a0ae7622f8c8a50bd0f7eede9ddab97 /source/x11-helper.c | |
parent | f19e3b1a352f9054488a3ff885defdd3d30c72f5 (diff) |
Remove pointless NULL check.
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r-- | source/x11-helper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c index 97266fff..c51c3e66 100644 --- a/source/x11-helper.c +++ b/source/x11-helper.c @@ -254,10 +254,8 @@ static void x11_build_monitor_layout_xinerama () w->w = screens_iterator.data->width; w->h = screens_iterator.data->height; - if ( w ) { - w->next = xcb->monitors; - xcb->monitors = w; - } + w->next = xcb->monitors; + xcb->monitors = w; } int index = 0; |