summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index 754f18a40e..e9a47d2a53 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -120,15 +120,7 @@ KResultOr<FlatPtr> handle(RegisterState& regs, FlatPtr function, FlatPtr arg1, F
return ENOSYS;
}
- // This appears to be a bogus warning, as s_syscall_table is always
- // initialized, and the index (function) is always bounded.
- // TODO: Figure out how to avoid the suppression.
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
-
return (process.*(s_syscall_table[function]))(arg1, arg2, arg3);
-
-#pragma GCC diagnostic pop
}
}