summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-05-12 18:39:00 +0200
committerYorhel <git@yorhel.nl>2009-05-12 18:39:00 +0200
commit9d07027553aeb5241a81196bcdbba2ee8f881035 (patch)
tree1e054c661245f6731a339950eb403088b6659c9f
parent2828bfe6a8010c2bb4cff0ed68285829fe574920 (diff)
calc.c: Removed an unused variable in calc_item()
-rw-r--r--src/calc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/calc.c b/src/calc.c
index a09ab6c..97f1c48 100644
--- a/src/calc.c
+++ b/src/calc.c
@@ -87,7 +87,6 @@ void calc_leavepath() {
int calc_item(struct dir *par, char *name) {
struct dir *t, *d;
struct stat fs;
- int i;
if(name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0')))
return 0;