noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit ce1fcfc7b8777d3d3459fad11d4941cc22f4eb9b
parent 7ee4928a3f10e03186578e5da3a8eb44cc4e6b46
Author: sin <sin@2f30.org>
Date:   Wed, 22 Oct 2014 16:25:59 +0100

Remove unused vars

Diffstat:
Mnoice.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/noice.c b/noice.c @@ -485,8 +485,6 @@ void browse(const char *ipath, const char *ifilter) { DIR *dirp; - int dfd; - struct dirent *dp; struct entry *dents; int i, n, cur; int r, ret; @@ -498,10 +496,6 @@ browse(const char *ipath, const char *ifilter) cur = 0; begin: - /* Path and filter should be malloc(3)-ed strings at all times */ - n = 0; - dents = NULL; - dirp = opendir(path); if (dirp == NULL) { printwarn(); @@ -525,7 +519,6 @@ begin: for (;;) { int nlines; - int maxlen; int odd; char *pathnew; char *name;