John Marriott wrote:
> On 11-Sept-2021 00:59, Bram Moolenaar wrote:
> > Patch 8.2.3424
> > Problem: A sequence of spaces is hard to see in list mode.
> > Solution: Add the "multispace" option to 'listchars'. (closes #8834)
> > Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
> > src/screen.c, src/structs.h, src/testdir/test_listchars.vim
> >
> >
> After this patch, mingw64 (gcc 11.2) throws this warning:
> <snip>
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO
> -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return
> -fpie -fPIE -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD screen.c -o
> gobjnative/screen.o
> screen.c: In function 'set_chars_option':
> screen.c:4957:32: warning: 'last_multispace' may be used uninitialized
> in this function [-Wmaybe-uninitialized]
> 4957 | if (p == last_multispace)
> | ^
> </snip>
>
> The attached patch tries to fix it.
I'll include it, thanks.
--
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
your children are.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/202109111017.18BAH1hC545203%40masaka.moolenaar.net.