mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Shell: Fix -Wunreachable-code warnings from clang
This commit is contained in:
parent
f46a40a471
commit
9d06448bc7
2 changed files with 0 additions and 2 deletions
|
@ -416,7 +416,6 @@ int Shell::builtin_exit(int argc, const char** argv)
|
||||||
printf("Good-bye!\n");
|
printf("Good-bye!\n");
|
||||||
}
|
}
|
||||||
exit(exit_code);
|
exit(exit_code);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int Shell::builtin_export(int argc, const char** argv)
|
int Shell::builtin_export(int argc, const char** argv)
|
||||||
|
|
|
@ -161,7 +161,6 @@ NonnullRefPtrVector<AST::Node> Parser::parse_as_multiple_expressions()
|
||||||
return nodes;
|
return nodes;
|
||||||
nodes.append(node.release_nonnull());
|
nodes.append(node.release_nonnull());
|
||||||
}
|
}
|
||||||
return nodes;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RefPtr<AST::Node> Parser::parse_toplevel()
|
RefPtr<AST::Node> Parser::parse_toplevel()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue