Warnings in screen.c in Normal and Huge (not Tiny) after applying patches 9.2.450 to 9.2.452

6 views
Skip to first unread message

Tony Mechelynck

unread,
May 7, 2026, 7:06:30 PM (12 days ago) May 7
to Christian Brabandt, vim_dev
After applying patches 9.2.450 to 9.2.452, I get the following
warnings in Normal and Huge (but not in Tiny with or without GUI).
Build is not halted but proceeds to Link.

In function ‘popup_blend_with_base’,
inlined from ‘screen_line’ at screen.c:772:26:
screen.c:512:28: warning: ‘po.popup_attr’ may be used uninitialized
[-Wmaybe-uninitialized]
512 | int combined = hl_combine_attr(po->popup_attr, char_attr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
screen.c: In function ‘screen_line’:
screen.c:608:21: note: ‘po.popup_attr’ was declared here
608 | popup_opacity_T po; // cached when drawing
an opacity popup
| ^~
In function ‘popup_blend_with_base’,
inlined from ‘screen_line’ at screen.c:772:26:
screen.c:514:12: warning: ‘po.blend’ may be used uninitialized
[-Wmaybe-uninitialized]
514 | return hl_blend_attr(base_attr, combined, po->blend, blend_fg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
screen.c: In function ‘screen_line’:
screen.c:608:21: note: ‘po.blend’ was declared here
608 | popup_opacity_T po; // cached when drawing
an opacity popup
| ^~

Best regards,
Tony.

Christian Brabandt

unread,
May 8, 2026, 5:17:57 PM (11 days ago) May 8
to Tony Mechelynck, vim_dev
I don't see this. What compiler is this?

Thanks,
Christian
--
The heart has its reasons which reason knows nothing of.
-- Blaise Pascal

Christian Brabandt

unread,
May 8, 2026, 5:27:50 PM (11 days ago) May 8
to Tony Mechelynck, vim_dev
Anyhow, should be fixed now as of v9.2.0457

Thanks,
Christian
--
Think twice before speaking, but don't say "think think click click".
Reply all
Reply to author
Forward
0 new messages