mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Remove pointless NULL check.
This commit is contained in:
parent
f19e3b1a35
commit
642cad350d
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue