mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
Shell: Remove bogus assertion
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user