aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar tanyaionova <isaqtm@gmail.com>2019-06-27 01:01:42 +0300
committerGravatar tanyaionova <isaqtm@gmail.com>2019-06-27 01:01:42 +0300
commit3ad5f7f6cbaed5fb499eed7eca4f61514f48a35b (patch)
tree6e758a56ef90106c5bb216e5dd50770e7df9718d
parent900ffbebc7c73942be779d1bc10b40df3c27cebb (diff)
downloadnnn-3ad5f7f6cbaed5fb499eed7eca4f61514f48a35b.tar.gz
Remove duplicate code (#295)
These three lines are exact copy of 4555-4557. As opener is not changed in between, we can delete these
-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);