mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
emptyview: initialising arrays to 0 is redundant
This commit is contained in:
parent
6b7246cb90
commit
6c822cbfce
4
dwm.c
4
dwm.c
@ -1594,9 +1594,7 @@ createmon(void)
|
||||
#endif // MONITOR_RULES_PATCH
|
||||
|
||||
m = ecalloc(1, sizeof(Monitor));
|
||||
#if EMPTYVIEW_PATCH
|
||||
m->tagset[0] = m->tagset[1] = 0;
|
||||
#else
|
||||
#if !EMPTYVIEW_PATCH
|
||||
m->tagset[0] = m->tagset[1] = 1;
|
||||
#endif // EMPTYVIEW_PATCH
|
||||
m->mfact = mfact;
|
||||
|
Loading…
x
Reference in New Issue
Block a user