mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
remove unused variables
This commit is contained in:
parent
a7b29afcef
commit
446fc35593
5
noice.c
5
noice.c
|
@ -423,8 +423,7 @@ dentfill(char *path, struct entry **dents,
|
||||||
struct dirent *dp;
|
struct dirent *dp;
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
char *newpath;
|
char *newpath;
|
||||||
int n = 0;
|
int r, n = 0;
|
||||||
int fd, r;
|
|
||||||
|
|
||||||
dirp = opendir(path);
|
dirp = opendir(path);
|
||||||
if (dirp == NULL)
|
if (dirp == NULL)
|
||||||
|
@ -517,7 +516,7 @@ browse(const char *ipath, const char *ifilter)
|
||||||
{
|
{
|
||||||
struct entry *dents;
|
struct entry *dents;
|
||||||
int i, n, cur;
|
int i, n, cur;
|
||||||
int r, ret, fd;
|
int r, fd;
|
||||||
char *path = xstrdup(ipath);
|
char *path = xstrdup(ipath);
|
||||||
char *filter = xstrdup(ifilter);
|
char *filter = xstrdup(ifilter);
|
||||||
regex_t filter_re;
|
regex_t filter_re;
|
||||||
|
|
Loading…
Reference in a new issue