Commit: patch 9.2.0457: Compile warning about unused variable

2 views
Skip to first unread message

Christian Brabandt

unread,
May 8, 2026, 5:30:16 PM (11 days ago) May 8
to vim...@googlegroups.com
patch 9.2.0457: Compile warning about unused variable

Commit: https://github.com/vim/vim/commit/2f00656b3480ed5384ce0513402025de9643462c
Author: Christian Brabandt <c...@256bit.org>
Date: Fri May 8 21:22:28 2026 +0000

patch 9.2.0457: Compile warning about unused variable

Problem: Compile warning about unused variable
(Tony Mechelynck, after v9.2.0452)
Solution: Initialize the variable

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/screen.c b/src/screen.c
index a482c400a..57b041d40 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -609,6 +609,7 @@ screen_line(
int drawing_opacity_popup =
screen_opacity_popup != NULL
&& (flags & SLF_POPUP);
+ CLEAR_FIELD(po);
if (drawing_opacity_popup)
popup_opacity_init(&po);
#endif
diff --git a/src/version.c b/src/version.c
index 81c72052e..709f46b8d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 457,
/**/
456,
/**/
Reply all
Reply to author
Forward
0 new messages