diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-06 02:31:00 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-06 02:31:00 +0530 |
commit | 10da1ac8dd7cffd5652d942359f928c41d3c03b9 (patch) | |
tree | 93f8a40c49950f6f711827cd3e0b4b49a2d151e4 /src | |
parent | 22b95be8106e26c81b09a8442aee6d1494a9fe68 (diff) | |
download | nnn-10da1ac8dd7cffd5652d942359f928c41d3c03b9.tar.gz |
Remove redundant env var
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -433,7 +433,6 @@ static const char * const messages[] = { #define NNN_NO_AUTOSELECT 10 #define NNN_RESTRICT_NAV_OPEN 11 #define NNN_RESTRICT_0B 12 -#define NNN_PLAIN_FILTER 13 static const char * const env_cfg[] = { "NNN_BMS", @@ -449,7 +448,6 @@ static const char * const env_cfg[] = { "NNN_NO_AUTOSELECT", "NNN_RESTRICT_NAV_OPEN", "NNN_RESTRICT_0B", - "NNN_PLAIN_FILTER", }; /* Required env vars */ @@ -2452,7 +2450,7 @@ static bool show_help(char *path) dprintf(fd, "\n"); } - for (i = NNN_OPENER; i <= NNN_PLAIN_FILTER; ++i) { + for (i = NNN_OPENER; i <= NNN_RESTRICT_0B; ++i) { start = getenv(env_cfg[i]); if (start) { if (i < NNN_USE_EDITOR) |