On Mi, 25 Jun 2025, Tony Mechelynck wrote:
> Compile warning -Wmaybe-uninitialized in ex_cmds.c after applying > patches 9.1.1474 to 1478 > On "make reconfig" in any build using gcc (SUSE Linux) 15.1.1 20250528: > > ex_cmds.c: In function ‘ex_uniq’: > ex_cmds.c:838:24: warning: ‘save_c’ may be used uninitialized > [-Wmaybe-uninitialized] > 838 | s[end_col] = save_c; > | ~~~~~~~~~~~^~~~~~~~ > ex_cmds.c:659:17: note: ‘save_c’ was declared here > 659 | char_u save_c; // temporary character storage > | ^~~~~~ > > False alarm ? That looks like a false alarm. But I'll initialize it anyhow. Thanks Tony for reporting, Christian -- You can't mend a wristwatch while falling from an airplane. -- -- 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/aFxFfl9idnC%2BgceH%40256bit.org.