mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Remove redundant calls
This commit is contained in:
parent
078d05dc7a
commit
1195dc86e0
|
@ -221,7 +221,7 @@ typedef struct entry {
|
||||||
off_t size;
|
off_t size;
|
||||||
blkcnt_t blocks; /* number of 512B blocks allocated */
|
blkcnt_t blocks; /* number of 512B blocks allocated */
|
||||||
mode_t mode;
|
mode_t mode;
|
||||||
ushort nlen; /* Length of file name; can be uchar (< NAME_MAX + 1) */
|
ushort nlen; /* Length of file name */
|
||||||
uchar flags; /* Flags specific to the file */
|
uchar flags; /* Flags specific to the file */
|
||||||
} *pEntry;
|
} *pEntry;
|
||||||
|
|
||||||
|
@ -3719,13 +3719,10 @@ static void handle_archive(char *fpath, const char *dir, char op)
|
||||||
arg[1] = op;
|
arg[1] = op;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (op == 'x') { /* extract */
|
if (op == 'x') /* extract */
|
||||||
spawn(util, arg, fpath, dir, F_NORMAL);
|
spawn(util, arg, fpath, dir, F_NORMAL);
|
||||||
} else { /* list */
|
else /* list */
|
||||||
exitcurses();
|
|
||||||
get_output(NULL, 0, util, arg, fpath, TRUE);
|
get_output(NULL, 0, util, arg, fpath, TRUE);
|
||||||
refresh();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *visit_parent(char *path, char *newpath, int *presel)
|
static char *visit_parent(char *path, char *newpath, int *presel)
|
||||||
|
|
Loading…
Reference in a new issue