From 6a5b9de54648175386f5ac9edc2fa591bc3023ed Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 16 Apr 2018 11:34:26 +0300 Subject: option: Fix PVS/V560: EXPAND_BOOL_SETTINGS already caused early return --- src/nvim/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/option.c b/src/nvim/option.c index 1ba77c15e2..35830b9ca5 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -6075,7 +6075,7 @@ set_context_in_set_cmd ( xp->xp_context = EXPAND_UNSUCCESSFUL; return; } - if (xp->xp_context != EXPAND_BOOL_SETTINGS && p[1] == NUL) { + if (p[1] == NUL) { xp->xp_context = EXPAND_OLD_SETTING; if (is_term_option) expand_option_idx = -1; -- cgit