From 9b720cbc827956643a100b29e4d36ca77b1ea5b0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 5 Sep 2021 17:45:16 +0200 Subject: remove unused variable --- src/kernel/syscalls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 93f7e44..7c67423 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -70,7 +70,6 @@ handle_t _syscall_fs_open(const user_ptr path, int len) { struct virt_iter iter; struct vfs_mount *mount; static char buffer[PATH_MAX]; // holds the path - int res; if (len > PATH_MAX) return -1; -- cgit v1.2.3