mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 08:32:36 +00:00
Remove duplicate code (#295)
These three lines are exact copy of 4555-4557. As opener is not changed in between, we can delete these
This commit is contained in:
parent
900ffbebc7
commit
3ad5f7f6cb
|
@ -4637,10 +4637,6 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
#endif
|
#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 */
|
/* Set nnn nesting level, idletimeout used as tmp var */
|
||||||
idletimeout = xatoi(getenv(env_cfg[NNNLVL]));
|
idletimeout = xatoi(getenv(env_cfg[NNNLVL]));
|
||||||
setenv(env_cfg[NNNLVL], xitoa(++idletimeout), 1);
|
setenv(env_cfg[NNNLVL], xitoa(++idletimeout), 1);
|
||||||
|
|
Loading…
Reference in a new issue