Hi,

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.

Best regards,
Kazunobu Kuriyama

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

Attachment: ex_getln.c.patch
Description: Binary data

Raspunde prin e-mail lui