emptyview: initialising arrays to 0 is redundant

This commit is contained in:
bakkeby 2023-01-18 21:01:35 +01:00
parent 6b7246cb90
commit 6c822cbfce

4
dwm.c
View File

@ -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;