aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-27 14:38:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-27 14:38:56 +0530
commit72333dcdd6537367f913fb190810c850e2806e9a (patch)
treef230df0df21b89bbe7ee27f27aac6591c66990b8 /src
parentbf057c1007910d9511993871ece8984519a503ba (diff)
downloadnnn-72333dcdd6537367f913fb190810c850e2806e9a.tar.gz
Statics are always initalized to 0
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 0c377ca..6bfd984 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1524,8 +1524,6 @@ static bool initcurses(void *oldmask)
g_ctx[i].color = 4;
init_pair(i + 1, g_ctx[i].color, -1);
-
- memset(g_ctx[i].c_fltr, 0, REGEX_MAX);
}
settimeout(); /* One second */