Hi,
Op 27 feb. 2017 20:34 schreef "Bram Moolenaar" <[email protected]>:
Patch 8.0.0382 (after 8.0.0380)
Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
Solution: Add #ifdefs.
Files: src/screen.c
*** ../vim-8.0.0381/src/screen.c 2017-02-26 19:40:55.869921651 +0100
--- src/screen.c 2017-02-27 20:31:17.944449891 +0100
***************
*** 4189,4195 ****
--- 4189,4197 ----
}
else
{
+ #ifdef FEAT_LINEBREAK
int c0;
+ #endif
if (p_extra_free != NULL)
{
***************
*** 4199,4205 ****
--- 4201,4209 ----
/*
* Get a character from the line itself.
*/
+ #ifdef FEAT_LINEBREAK
c0 = c = *ptr;
+ #endif
The screen.c before 0.380 had:
/*
* Get a character from the line itself.
*/
! c = *ptr
Now you miss that assignment into c.
Christ van Willegen
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.