From: Bram Moolenaar Date: Thu, 29 Jun 2017 20:33:13 +0000 (+0200) Subject: patch 8.0.0691: compiler warning without the linebreak feature X-Git-Tag: v8.0.0691 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a83fe75ca76f6f74daa1e5a620054b973b43379b;p=vim patch 8.0.0691: compiler warning without the linebreak feature Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott) --- 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) diff --git a/src/version.c b/src/version.c index 27f04365e..4e7558a4b 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 691, /**/ 690, /**/