From ff6a8713d3aa4bc797a1f2b9cffb2eb92166c6db Mon Sep 17 00:00:00 2001 From: fedir Date: Wed, 20 Nov 2024 10:35:58 +0100 Subject: [PATCH] Removed useless comments from main.c. --- sources/main.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/sources/main.c b/sources/main.c index a625b69..14d4c4d 100644 --- a/sources/main.c +++ b/sources/main.c @@ -25,25 +25,6 @@ static int icfs_getattr(const char *path, struct stat *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; }