mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Statics are always initalized to 0
This commit is contained in:
parent
bf057c1007
commit
72333dcdd6
|
@ -1524,8 +1524,6 @@ static bool initcurses(void *oldmask)
|
||||||
g_ctx[i].color = 4;
|
g_ctx[i].color = 4;
|
||||||
|
|
||||||
init_pair(i + 1, g_ctx[i].color, -1);
|
init_pair(i + 1, g_ctx[i].color, -1);
|
||||||
|
|
||||||
memset(g_ctx[i].c_fltr, 0, REGEX_MAX);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settimeout(); /* One second */
|
settimeout(); /* One second */
|
||||||
|
|
Loading…
Reference in a new issue