summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2021-09-05 17:45:16 +0200
committerdzwdz2021-09-05 17:45:16 +0200
commit9b720cbc827956643a100b29e4d36ca77b1ea5b0 (patch)
treefcfc874330d920633363d173b4278777df39c55e /src/kernel
parentd703fb367f832ef28d70c9098f7acb0b6532b44b (diff)
remove unused variable
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/syscalls.c1
1 files changed, 0 insertions, 1 deletions
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;