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:
Sébastien Helleu 2020-04-28 10:53:49 +02:00
parent d1a427b67f
commit f2507a68a7

View File

@ -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;