aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mischievous Meerkat <engineerarun@gmail.com>2019-06-27 06:36:40 +0530
committerGravatar GitHub <noreply@github.com>2019-06-27 06:36:40 +0530
commitb459879e2ad5fdb51fce709acc28de363e914b2a (patch)
tree6e758a56ef90106c5bb216e5dd50770e7df9718d
parent900ffbebc7c73942be779d1bc10b40df3c27cebb (diff)
parent3ad5f7f6cbaed5fb499eed7eca4f61514f48a35b (diff)
downloadnnn-b459879e2ad5fdb51fce709acc28de363e914b2a.tar.gz
Merge pull request #296 from tanyaionova/duplicate-patch
Remove duplicate code (#295)
-rw-r--r--src/nnn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ffb7980..17e1076 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4637,10 +4637,6 @@ int main(int argc, char *argv[])
}
#endif
- /* Get custom opener, if set */
- opener = xgetenv(env_cfg[NNN_OPENER], utils[OPENER]);
- DPRINTF_S(opener);
-
/* Set nnn nesting level, idletimeout used as tmp var */
idletimeout = xatoi(getenv(env_cfg[NNNLVL]));
setenv(env_cfg[NNNLVL], xitoa(++idletimeout), 1);