Kazunobu Kuriyama wrote:

> Since 8.0.0172 (1d669c233), when building Vim with the small features, I
> have got:
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -Wall -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
> ex_getln.c:220:25: warning: unused variable 'save_ccline'
> [-Wunused-variable]
>     struct cmdline_info save_ccline;
>                             ^
>                             1 warning generated.
> 
> This is because, while getcmdline() has stopped using save_ccline in the
> code enclosed by "#ifdef FEAT_CMDWIN" at ex_getln.c:768 and its #endif
> since 8.0.0172, the variable still remains defined at line 220 when
> FEAT_CMDWIN is defined.
> 
> Hopefully, the attached patch fixes it.

Looks like it.  Thanks!

-- 
I am always surprised in the Linux world how quickly solutions can be
obtained.  (Imagine sending an email to Bill Gates, asking why Windows
crashed, and how to fix it...  and then getting an answer that fixed the
problem... <0>_<0> !)                         -- Mark Langdon

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