fix lint error

This commit is contained in:
ckelsel 2017-12-02 15:45:19 +08:00
parent 585d664b7b
commit 7ab36403e1

View File

@ -3492,8 +3492,9 @@ char_u *skip_range(
break; break;
} }
} else if (*cmd == '\'') { } else if (*cmd == '\'') {
if (*++cmd == NUL && ctx != NULL) if (*++cmd == NUL && ctx != NULL) {
*ctx = EXPAND_NOTHING; *ctx = EXPAND_NOTHING;
}
} else if (*cmd == '/' || *cmd == '?') { } else if (*cmd == '/' || *cmd == '?') {
delim = *cmd++; delim = *cmd++;
while (*cmd != NUL && *cmd != delim) while (*cmd != NUL && *cmd != delim)