aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-04-16 20:22:12 +0300
committerZyX <kp-pav@yandex.ru>2017-04-16 20:22:12 +0300
commit1bc080078793aafcecfae95620f6dac917c737dc (patch)
tree11ee0a67d4a90f31a81d90879716e5b62f4b405c
parent9dd1926df01a27c913dd19ef0a4f79d06842508a (diff)
downloadrneovim-1bc080078793aafcecfae95620f6dac917c737dc.tar.gz
rneovim-1bc080078793aafcecfae95620f6dac917c737dc.tar.bz2
rneovim-1bc080078793aafcecfae95620f6dac917c737dc.zip
eval: Remove unneeded !eap->skip check
Already checked in the outer if().
-rw-r--r--src/nvim/eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 30b776c887..67d5465896 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -19462,8 +19462,9 @@ void ex_function(exarg_T *eap)
* interrupt, or an exception.
*/
if (!aborting()) {
- if (!eap->skip && fudi.fd_newkey != NULL)
+ if (fudi.fd_newkey != NULL) {
EMSG2(_(e_dictkey), fudi.fd_newkey);
+ }
xfree(fudi.fd_newkey);
return;
} else