1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-04-05 21:16:36 +00:00

Merge pull request from tanyaionova/duplicate-patch

Remove duplicate code ()
This commit is contained in:
Mischievous Meerkat 2019-06-27 06:36:40 +05:30 committed by GitHub
commit b459879e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);