mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
calc.c: Removed an unused variable in calc_item()
This commit is contained in:
parent
2828bfe6a8
commit
9d07027553
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue