mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02: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
|
#endif // MONITOR_RULES_PATCH
|
||||||
|
|
||||||
m = ecalloc(1, sizeof(Monitor));
|
m = ecalloc(1, sizeof(Monitor));
|
||||||
#if EMPTYVIEW_PATCH
|
#if !EMPTYVIEW_PATCH
|
||||||
m->tagset[0] = m->tagset[1] = 0;
|
|
||||||
#else
|
|
||||||
m->tagset[0] = m->tagset[1] = 1;
|
m->tagset[0] = m->tagset[1] = 1;
|
||||||
#endif // EMPTYVIEW_PATCH
|
#endif // EMPTYVIEW_PATCH
|
||||||
m->mfact = mfact;
|
m->mfact = mfact;
|
||||||
|
Loading…
Reference in New Issue
Block a user