summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-28 10:53:49 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-28 10:53:49 +0200
commitf2507a68a7e7db15a4c5f9d40ed19f7689651855 (patch)
treec81d42abca98a6db16b463f500bfbcf43b062f4d /src/gui
parentd1a427b67fc57c1868f6ebddd458cfa5252aa848 (diff)
downloadweechat-f2507a68a7e7db15a4c5f9d40ed19f7689651855.zip
core: remove obsolete comment
The completion context can be "GUI_COMPLETION_NULL" if there's no base word found (for example empty input).
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-completion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index 599205365..88f9de1dc 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -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;