mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Address some sparse warnings
Plain integer as NULL pointer, non-ANSI function declaration etc.
This commit is contained in:
@@ -435,7 +435,7 @@ WSwitchPanel *wInitSwitchPanel(WScreen * scr, WWindow * curwin, Bool class_only)
|
||||
|
||||
panel->scr = scr;
|
||||
|
||||
panel->windows = makeWindowListArray(curwin, wPreferences.swtileImage != 0, class_only);
|
||||
panel->windows = makeWindowListArray(curwin, wPreferences.swtileImage != NULL, class_only);
|
||||
count = WMGetArrayItemCount(panel->windows);
|
||||
|
||||
if (count == 0) {
|
||||
|
||||
Reference in New Issue
Block a user