diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-21 14:36:41 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-21 14:36:41 +0200 |
commit | 23ec19b8ddb208295372147540d8ce764c777710 (patch) | |
tree | a2cb1614483df7d73eda5c24c26c4a2869180dcc /src | |
parent | 066cc258b91264f5f344be708fb781789093dab9 (diff) | |
download | weechat-23ec19b8ddb208295372147540d8ce764c777710.zip |
core: remove useless condition
Variables base_word and nick can not be NULL here.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index 22c151f1d..9f8a20508 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -362,7 +362,7 @@ gui_completion_nickncmp (const char *base_word, const char *nick, int max) if (!CONFIG_STRING(config_completion_nick_ignore_chars) || !CONFIG_STRING(config_completion_nick_ignore_chars)[0] - || !base_word || !nick || !base_word[0] || !nick[0] + || !base_word[0] || !nick[0] || gui_completion_nick_has_ignored_chars (base_word)) { return (case_sensitive) ? |