calc.c: Removed an unused variable in calc_item()

This commit is contained in:
Yorhel 2009-05-12 18:39:00 +02:00
parent 2828bfe6a8
commit 9d07027553

View file

@ -87,7 +87,6 @@ void calc_leavepath() {
int calc_item(struct dir *par, char *name) { int calc_item(struct dir *par, char *name) {
struct dir *t, *d; struct dir *t, *d;
struct stat fs; struct stat fs;
int i;
if(name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0'))) if(name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0')))
return 0; return 0;