mirror of https://github.com/jarun/nnn.git
Remove redundant initialization
This commit is contained in:
parent
e4afd91ec0
commit
6fb4338ffa
|
@ -1168,7 +1168,7 @@ static void xrm(char *path)
|
||||||
|
|
||||||
static bool batch_rename(const char *path)
|
static bool batch_rename(const char *path)
|
||||||
{
|
{
|
||||||
int fd1 = -1, fd2 = -1, i;
|
int fd1, fd2, i;
|
||||||
uint count = 0, lines = 0;
|
uint count = 0, lines = 0;
|
||||||
bool dir = FALSE, ret = FALSE;
|
bool dir = FALSE, ret = FALSE;
|
||||||
const char renamecmd[] = "paste -d'\n' %s %s | xargs -d'\n' -n2 mv 2>/dev/null";
|
const char renamecmd[] = "paste -d'\n' %s %s | xargs -d'\n' -n2 mv 2>/dev/null";
|
||||||
|
|
Loading…
Reference in New Issue