aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-22 18:59:23 +0300
committerZyX <kp-pav@yandex.ru>2018-04-22 18:59:23 +0300
commit190cc43cf38c0231f4672c52b60725ba173131f8 (patch)
tree6a190922eea2cbf5e2c9ba92899e0532610712ff
parent3ee187b770cd9b736b70225ac81efadc5e51962d (diff)
downloadrneovim-190cc43cf38c0231f4672c52b60725ba173131f8.tar.gz
rneovim-190cc43cf38c0231f4672c52b60725ba173131f8.tar.bz2
rneovim-190cc43cf38c0231f4672c52b60725ba173131f8.zip
quickfix: Silence PVS/V560: memory is referenced and may be changed
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 1f69565403..cbab8eb05b 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -2062,7 +2062,7 @@ win_found:
EMSG(_("E924: Current window was closed"));
is_abort = true;
opened_window = false;
- } else if (old_qf_curlist != qi->qf_curlist
+ } else if (old_qf_curlist != qi->qf_curlist // -V560
|| !is_qf_entry_present(qi, qf_ptr)) {
if (qi == &ql_info) {
EMSG(_("E925: Current quickfix was changed"));