From f555666ac47a984323a80df934426d6e5ad2db6e Mon Sep 17 00:00:00 2001 From: Ali Mashtizadeh Date: Tue, 21 Nov 2023 22:56:59 -0500 Subject: [PATCH] Fix warnings in stat --- bin/stat/stat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/stat/stat.c b/bin/stat/stat.c index 4c4a0f8..b83c4ed 100644 --- a/bin/stat/stat.c +++ b/bin/stat/stat.c @@ -11,10 +11,8 @@ int main(int argc, const char *argv[]) { - int i; - int status, fd; + int status; struct stat sb; - char buf[256]; if (argc < 2) { fputs("Requires an argument\n", stdout);