core: remove obsolete comment
The completion context can be "GUI_COMPLETION_NULL" if there's no base word found (for example empty input).
This commit is contained in:
parent
d1a427b67f
commit
f2507a68a7
@ -1401,7 +1401,6 @@ gui_completion_search (struct t_gui_completion *completion, const char *data,
|
||||
switch (completion->context)
|
||||
{
|
||||
case GUI_COMPLETION_NULL:
|
||||
/* should never be executed */
|
||||
if (old_word_found)
|
||||
free (old_word_found);
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user