Christ van Willegen wrote:

> 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.

Darn, only did that further below, forgot this one.

-- 
How To Keep A Healthy Level Of Insanity:
18. When leaving the zoo, start running towards the parking lot,
    yelling "run for your lives, they're loose!!"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui