aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index acfefd2..b4dc9ff 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1168,7 +1168,7 @@ static void xrm(char *path)
static bool batch_rename(const char *path)
{
- int fd1 = -1, fd2 = -1, i;
+ int fd1, fd2, i;
uint count = 0, lines = 0;
bool dir = FALSE, ret = FALSE;
const char renamecmd[] = "paste -d'\n' %s %s | xargs -d'\n' -n2 mv 2>/dev/null";