From a83fe75ca76f6f74daa1e5a620054b973b43379b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 29 Jun 2017 22:33:13 +0200 Subject: patch 8.0.0691: compiler warning without the linebreak feature Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott) --- src/edit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index 912f05f38..e08370863 100644 --- a/src/edit.c +++ b/src/edit.c @@ -7329,7 +7329,9 @@ oneleft(void) #ifdef FEAT_VIRTUALEDIT if (virtual_active()) { +# ifdef FEAT_LINEBREAK int width; +# endif int v = getviscol(); if (v == 0) -- cgit v1.2.1