On 02-Aug-2019 19:35, Bram Moolenaar wrote:
Patch 8.1.1792
Problem: The vgetorpeek() function is too long.
Solution: Split off the part that handles mappings.
Files: src/getchar.c
Hi All,
I'm not sure if this warning (thrown by mingw64, gcc 9.1) was there
before, but I only noticed it after this patch:
...
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
-DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN
-DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer
-freg-struct-return getchar.c -o gobjnative/getchar.o
getchar.c: In function 'handle_mapping':
getchar.c:2156:6: warning: 'keylen' may be used uninitialized in this
function [-Wmaybe-uninitialized]
2156 | && keylen != KEYLEN_PART_MAP)
...
Cheers
John
--
--
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/2ed22da4-1dc7-e1de-928d-41f476c2f77c%40internode.on.net.