diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-04-28 10:53:49 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-04-28 10:53:49 +0200 |
commit | f2507a68a7e7db15a4c5f9d40ed19f7689651855 (patch) | |
tree | c81d42abca98a6db16b463f500bfbcf43b062f4d /src/gui | |
parent | d1a427b67fc57c1868f6ebddd458cfa5252aa848 (diff) | |
download | weechat-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.c | 1 |
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; |