summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 2d64bca848..a3cd6be38d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -315,7 +315,7 @@ close_buffer(win, buf, action)
{
#ifdef FEAT_AUTOCMD
int is_curbuf;
- int nwindows = buf->b_nwindows;
+ int nwindows;
#endif
int unload_buf = (action != 0);
int del_buf = (action == DOBUF_DEL || action == DOBUF_WIPE);