From: Christian Brabandt Date: Wed, 1 Jul 2026 18:55:04 +0000 (+0000) Subject: patch 9.2.0760: Compiler warning for using potentially uninitialized var X-Git-Tag: v9.2.0760^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e6a249d573e53f9899fe476b0570f62734517fc;p=thirdparty%2Fvim.git patch 9.2.0760: Compiler warning for using potentially uninitialized var Problem: Compiler warning for using potentially uninitialized var (John Marriott, after v9.2.0612) Solution: Initialize the variables at declaration related: #20136 Signed-off-by: Christian Brabandt --- diff --git a/src/popupwin.c b/src/popupwin.c index d30cc33e17..849849f827 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -6846,7 +6846,7 @@ popup_image_gui_clip( popup_invalidate_prev_image_rect(win_T *wp, popup_clip_T *cl) { int old_row, old_col, old_cells_w, old_cells_h; - int new_row, new_col, new_cells_w, new_cells_h; + int new_row = 0, new_col = 0, new_cells_w = 0, new_cells_h = 0; int rr; # if !(defined(FEAT_IMAGE_SIXEL) || defined(FEAT_IMAGE_KITTY)) diff --git a/src/version.c b/src/version.c index 33942d5b92..724eda4251 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 760, /**/ 759, /**/