Removed useless comments from main.c.

This commit is contained in:
fedir 2024-11-20 10:35:58 +01:00
parent 8fcfebe3f9
commit ff6a8713d3

View File

@ -25,25 +25,6 @@ static int icfs_getattr(const char *path, struct stat *stbuf,
int statret = source_stat(path, stbuf); int statret = source_stat(path, stbuf);
//(void)fi;
/*
int res = 0;
memset(stbuf, 0, sizeof(struct stat));
if (strcmp(path, "/") == 0) {
stbuf->st_mode = S_IFDIR | 0755;
stbuf->st_nlink = 2;
} else if (strcmp(path + 1, options.filename) == 0) {
stbuf->st_mode = S_IFREG | 0444;
stbuf->st_nlink = 1;
stbuf->st_size = strlen(options.contents);
} else
res = -ENOENT;
*/
// return res;
return statret; return statret;
} }