On Wed, Aug 20, 2025 at 10:03 PM Christian Brabandt <cbli...@256bit.org> wrote: > > > On Mi, 20 Aug 2025, Tony Mechelynck wrote: > > > At patchlevel 9.1.1652: > > > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2 > > -fno-strength-reduce -Wall -Wno-deprecated-declarations -D_REENTRANT > > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/clientserver.o > > clientserver.c > > In function ‘cmdsrv_main’, > > inlined from ‘exec_on_server’ at clientserver.c:233:2: > > clientserver.c:458:16: warning: ‘ret’ may be used uninitialized > > [-Wmaybe-uninitialized] > > 458 | if (ret < 0) > > | ^ > > clientserver.c: In function ‘exec_on_server’: > > clientserver.c:333:17: note: ‘ret’ was declared here > > 333 | int ret; > > | ^~~ > > > > The configuration for this build is as follows: > > #!/bin/bash > > export CONF_OPT_GUI='--enable-gui=motif' > > export CONF_OPT_X='--without-wayland' > > export CONF_OPT_MULTIBYTE='--enable-multibyte' > > export CONF_OPT_AUTOSERVE='--enable-autoservername' > > export CONF_OPT_SODIUM='--enable-libsodium' > > export CONF_OPT_FEAT='--with-features=normal' > > export CONF_ARGS2='--with-vim-name=vim-normal' > > export CONF_OPT_COMPBY='"--with-compiledby=antoine.mechely...@gmail.com"' > > > > I haven't checked whether or not the same warning occurs in Huge and > > Tiny builds. > > Thanks, that should be fixed by v9.1.1661. > > Thanks, > Christian
Yes, I applied patches 9.1.1661 and 9.1.1662 together and thereafter I don't see any warnings, not even in clientserver.c 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/CAJkCKXu8TfNJO70%3D6pBGHEfH3Lp4UmGJ10uzCGTZffxR9sg7fA%40mail.gmail.com.