On Sat, Jun 17, 2023 at 4:01 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 9.0.1638 (after 9.0.1637)
> Problem:    crypt tests hang and cause memory errors
> Solution:   Move variable to start of function.
> Files:      src/fileio.c
[...]

This gives me a compiler warning in the Tiny build, as follows:

gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall
-Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
fileio.c: In function ‘readfile’:
fileio.c:221:17: warning: variable ‘eof’ set but not used
[-Wunused-but-set-variable]
  221 |     int         eof = FALSE;
      |                 ^~~


Best regards,
Tony.

-- 
-- 
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/CAJkCKXuvvzPN6MOd%2BGgxz5pbcPoYE6z0ReM1x2h%3DxMg%3Ds3N2Kg%40mail.gmail.com.

Raspunde prin e-mail lui