mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
Shell: Remove bogus assertion
This commit is contained in:
parent
2695773dd2
commit
24a5a6cd2c
1 changed files with 0 additions and 2 deletions
|
@ -184,8 +184,6 @@ Vector<String> LineEditor::tab_complete_other_token(String& token)
|
||||||
String path;
|
String path;
|
||||||
Vector<String> suggestions;
|
Vector<String> suggestions;
|
||||||
|
|
||||||
ASSERT(token.length() != 0);
|
|
||||||
|
|
||||||
ssize_t last_slash = token.length() - 1;
|
ssize_t last_slash = token.length() - 1;
|
||||||
while (last_slash >= 0 && token[last_slash] != '/')
|
while (last_slash >= 0 && token[last_slash] != '/')
|
||||||
--last_slash;
|
--last_slash;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue