mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Remove unused vars
This commit is contained in:
parent
7ee4928a3f
commit
ce1fcfc7b8
7
noice.c
7
noice.c
|
@ -485,8 +485,6 @@ void
|
||||||
browse(const char *ipath, const char *ifilter)
|
browse(const char *ipath, const char *ifilter)
|
||||||
{
|
{
|
||||||
DIR *dirp;
|
DIR *dirp;
|
||||||
int dfd;
|
|
||||||
struct dirent *dp;
|
|
||||||
struct entry *dents;
|
struct entry *dents;
|
||||||
int i, n, cur;
|
int i, n, cur;
|
||||||
int r, ret;
|
int r, ret;
|
||||||
|
@ -498,10 +496,6 @@ browse(const char *ipath, const char *ifilter)
|
||||||
|
|
||||||
cur = 0;
|
cur = 0;
|
||||||
begin:
|
begin:
|
||||||
/* Path and filter should be malloc(3)-ed strings at all times */
|
|
||||||
n = 0;
|
|
||||||
dents = NULL;
|
|
||||||
|
|
||||||
dirp = opendir(path);
|
dirp = opendir(path);
|
||||||
if (dirp == NULL) {
|
if (dirp == NULL) {
|
||||||
printwarn();
|
printwarn();
|
||||||
|
@ -525,7 +519,6 @@ begin:
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int nlines;
|
int nlines;
|
||||||
int maxlen;
|
|
||||||
int odd;
|
int odd;
|
||||||
char *pathnew;
|
char *pathnew;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
Loading…
Reference in a new issue