mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
Shell: Remove bogus assertion
This commit is contained in:
parent
2695773dd2
commit
24a5a6cd2c
Notes:
sideshowbarker
2024-07-19 08:57:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/24a5a6cd2cf
1 changed files with 0 additions and 2 deletions
|
@ -184,8 +184,6 @@ Vector<String> LineEditor::tab_complete_other_token(String& token)
|
|||
String path;
|
||||
Vector<String> suggestions;
|
||||
|
||||
ASSERT(token.length() != 0);
|
||||
|
||||
ssize_t last_slash = token.length() - 1;
|
||||
while (last_slash >= 0 && token[last_slash] != '/')
|
||||
--last_slash;
|
||||
|
|
Loading…
Reference in a new issue