diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-29 22:33:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-29 22:33:13 +0200 |
commit | a83fe75ca76f6f74daa1e5a620054b973b43379b (patch) | |
tree | b0b42a3796a5e6333fedf141ae33f30989a24999 /src/edit.c | |
parent | c2226845eb207bcd1a24e1afa941acbfecbc5170 (diff) | |
download | vim-git-a83fe75ca76f6f74daa1e5a620054b973b43379b.tar.gz |
patch 8.0.0691: compiler warning without the linebreak featurev8.0.0691
Problem: Compiler warning without the linebreak feature.
Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |