Tony wrote:
> This is probably no problem, but…
We like to keep the build warning-free!
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/scriptfile.o
> scriptfile.c
> scriptfile.c: In function ‘estack_sfile’:
> scriptfile.c:102:10: warning: unused variable ‘done’ [-Wunused-variable]
> int done;
> ^~~~
> scriptfile.c:101:11: warning: unused variable ‘res’ [-Wunused-variable]
> char *res;
> ^~~
> scriptfile.c:99:10: warning: unused variable ‘idx’ [-Wunused-variable]
> int idx;
> ^~~
> scriptfile.c:98:10: warning: unused variable ‘len’ [-Wunused-variable]
> int len;
> ^~~
>
>
> Using gcc 7.4.1 on openSUSE Linux Leap 15.1
I'll add an #ifdef.
--
f y cn rd ths thn y cn hv grt jb n cmptr prgrmmng
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201912301117.xBUBHo9C027780%40masaka.moolenaar.net.