aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-08-08 09:27:09 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-08-08 09:27:09 -0400
commit19f44fda8bc74abdcd13deca47be99b151f69239 (patch)
treef79a83af7a9b44f89b26cc3fe7a37a87ca20d28b /src/nvim/window.c
parent54d49931255090ebf33c342aed6fbe9f9ca308e6 (diff)
parentbdd82b0da729b77381219927eb174b8e4d2054f8 (diff)
downloadrneovim-19f44fda8bc74abdcd13deca47be99b151f69239.tar.gz
rneovim-19f44fda8bc74abdcd13deca47be99b151f69239.tar.bz2
rneovim-19f44fda8bc74abdcd13deca47be99b151f69239.zip
Merge pull request #985 from fwalch/clang-analyzer-dead-assignments
Clang analyzer: fix dead stores / reduce scope
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 98daa7eca2..52401a12ee 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -1445,7 +1445,6 @@ win_equal_rec (
}
for (fr = topfr->fr_child; fr != NULL; fr = fr->fr_next) {
- n = m = 0;
wincount = 1;
if (fr->fr_next == NULL)
/* last frame gets all that remains (avoid roundoff error) */
@@ -1566,7 +1565,6 @@ win_equal_rec (
}
for (fr = topfr->fr_child; fr != NULL; fr = fr->fr_next) {
- n = m = 0;
wincount = 1;
if (fr->fr_next == NULL)
/* last frame gets all that remains (avoid roundoff error) */