]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0457: Compile warning about unused variable v9.2.0457
authorChristian Brabandt <cb@256bit.org>
Fri, 8 May 2026 21:22:28 +0000 (21:22 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 8 May 2026 21:22:28 +0000 (21:22 +0000)
Problem:  Compile warning about unused variable
          (Tony Mechelynck, after v9.2.0452)
Solution: Initialize the variable

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/screen.c
src/version.c

index a482c400af40a0f40e8517e0ec2fc9b0da8473e9..57b041d40d7a4331a7d762fd43baf049cdc1dcaf 100644 (file)
@@ -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
index 81c72052ee40623a3ee9d81f196340f3680fb0e7..709f46b8df78cfabc145dd41be0dc8627d211b58 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    457,
 /**/
     456,
 /**/