diff --git a/Userland/Shell/Builtin.cpp b/Userland/Shell/Builtin.cpp index 01b85b712e..b3c7da9baf 100644 --- a/Userland/Shell/Builtin.cpp +++ b/Userland/Shell/Builtin.cpp @@ -416,7 +416,6 @@ int Shell::builtin_exit(int argc, const char** argv) printf("Good-bye!\n"); } exit(exit_code); - return 0; } int Shell::builtin_export(int argc, const char** argv) diff --git a/Userland/Shell/Parser.cpp b/Userland/Shell/Parser.cpp index 260fffbcdd..b56c599b64 100644 --- a/Userland/Shell/Parser.cpp +++ b/Userland/Shell/Parser.cpp @@ -161,7 +161,6 @@ NonnullRefPtrVector Parser::parse_as_multiple_expressions() return nodes; nodes.append(node.release_nonnull()); } - return nodes; } RefPtr Parser::parse_toplevel()