mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 19:23:13 +02:00
core: remove useless condition
Variables base_word and nick can not be NULL here.
This commit is contained in:
@@ -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) ?
|
||||
|
||||
Reference in New Issue
Block a user