summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-12-08 13:11:21 +0100
committerBram Moolenaar <Bram@vim.org>2010-12-08 13:11:21 +0100
commite980d8a934393c4da5ff0d5ece6f3e158fa98306 (patch)
treea54d79f0937f2d6d4a196615fc5f39f7330f1877 /src/netbeans.c
parent005c3c27ee586126d7a40c41911cf600b9bbe3d1 (diff)
downloadvim-git-e980d8a934393c4da5ff0d5ece6f3e158fa98306.tar.gz
updated for version 7.3.076v7.3.076
Problem: Clang warnings for dead code. Solution: Remove it. (Carlo Teubner)
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 3134db9d2..853df364a 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -960,7 +960,6 @@ nb_free()
keyQ_T *key_node = keyHead.next;
queue_T *cmd_node = head.next;
nbbuf_T buf;
- buf_T *bufp;
int i;
/* free the netbeans buffer list */
@@ -969,7 +968,7 @@ nb_free()
buf = buf_list[i];
vim_free(buf.displayname);
vim_free(buf.signmap);
- if ((bufp=buf.bufp) != NULL)
+ if (buf.bufp != NULL)
{
buf.bufp->b_netbeans_file = FALSE;
buf.bufp->b_was_netbeans_file = FALSE;