aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-12-17 11:48:34 +0000
committerlostd <lostd@2f30.org>2014-12-18 11:02:34 +0200
commit446fc35593507469a059e7dec85b724c13c5ba4c (patch)
treec1d140202ccd824ccf3e61bde49c9170bcf5a2fc /noice.c
parenta7b29afcef1f21a2001c711a44c935a556105a07 (diff)
downloadnoice-446fc35593507469a059e7dec85b724c13c5ba4c.tar.gz
remove unused variables
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/noice.c b/noice.c
index 135f453..458ac42 100644
--- a/noice.c
+++ b/noice.c
@@ -423,8 +423,7 @@ dentfill(char *path, struct entry **dents,
struct dirent *dp;
struct stat sb;
char *newpath;
- int n = 0;
- int fd, r;
+ int r, n = 0;
dirp = opendir(path);
if (dirp == NULL)
@@ -517,7 +516,7 @@ browse(const char *ipath, const char *ifilter)
{
struct entry *dents;
int i, n, cur;
- int r, ret, fd;
+ int r, fd;
char *path = xstrdup(ipath);
char *filter = xstrdup(ifilter);
regex_t filter_re;
Un proyecto texto-plano.xyz