aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-21 15:40:30 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-21 15:40:30 +0530
commitb059e08f3af1819d957c831b92318dd724a67137 (patch)
tree72d36561b7da00889f63e3b0530a49c24e54235d
parentaa1bc78ea7650f6a52fdfa6ce44de6e232639d74 (diff)
downloadnnn-b059e08f3af1819d957c831b92318dd724a67137.tar.gz
Reduce statements
-rw-r--r--src/nnn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index edecf27..fdc6f3e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2914,9 +2914,7 @@ static void browse(char *ipath)
enum action sel;
bool dir_changed = FALSE;
struct stat sb;
- char *path, *lastdir, *lastname;
- char *dir, *tmp;
- char *pluginpath = getenv(env_cfg[NNN_PLUGIN_DIR]);
+ char *path, *lastdir, *lastname, *dir, *tmp, *pluginpath = getenv(env_cfg[NNN_PLUGIN_DIR]);
atexit(dentfree);