aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-25 06:36:48 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-26 00:29:13 -0500
commit35c3985da617ffa7ff7f6d7aee4b08267e03e898 (patch)
tree48e84ff934dd1ffa033a1ec60f3bcd405c4a417f /src/nvim/quickfix.c
parentc740e3b4b5274e04b9a88a1467abb0fd5590301f (diff)
downloadrneovim-35c3985da617ffa7ff7f6d7aee4b08267e03e898.tar.gz
rneovim-35c3985da617ffa7ff7f6d7aee4b08267e03e898.tar.bz2
rneovim-35c3985da617ffa7ff7f6d7aee4b08267e03e898.zip
clang/'Dead store': remove dead code
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 5d30ca624f..3c1cebfcf3 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -4513,7 +4513,7 @@ static void qf_get_nth_below_entry(qfline_T *entry,
linenr_T n)
{
while (n-- > 0 && !got_int) {
- qfline_T *first_entry = entry;
+ // qfline_T *first_entry = entry;
int first_errornr = *errornr;
// Treat all the entries on the same line in this file as one
@@ -4523,7 +4523,7 @@ static void qf_get_nth_below_entry(qfline_T *entry,
|| entry->qf_next->qf_fnum != entry->qf_fnum) {
// If multiple entries are on the same line, then use the first
// entry
- entry = first_entry;
+ // entry = first_entry;
*errornr = first_errornr;
break;
}