Christian wrote:
> On Fr, 12 Jul 2019, Bram Moolenaar wrote: > > > > > Patch 8.1.1670 > > Problem: Sign column not always properly aligned. > > Solution: Use "col" only after it was calculated. (Yee Cheng Chin, > > closes #4649) > > Files: src/gui.c > > After this patch I see a warning when compiling with > -Wmaybe-uninitialized: > > gui.c: In function ‘gui_outstr_nowrap’: > gui.c:2621:2: warning: ‘signcol’ may be used uninitialized in this function > [-Wmaybe-uninitialized] > gui_mch_drawsign(gui.row, signcol, gui.highlight_mask); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > I don't really see, how signcol can be used uninitialized, but to shut > up the compiler, I suggest this patch: Thanks, I'll include it. -- Sorry, no fortune today. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ 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/201907161813.x6GID0Cp025270%40masaka.moolenaar.net. For more options, visit https://groups.google.com/d/optout.
