nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3ad5f7f6cbaed5fb499eed7eca4f61514f48a35b
parent 900ffbebc7c73942be779d1bc10b40df3c27cebb
Author: tanyaionova <isaqtm@gmail.com>
Date:   Thu, 27 Jun 2019 01:01:42 +0300

Remove duplicate code (#295)

These three lines are exact copy of 4555-4557.
As opener is not changed in between, we can delete these

Diffstat:
Msrc/nnn.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git 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);