From 08e758bb7045257f1486b7b551b7385ad271c2f4 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 1 Mar 2026 17:21:16 +0000 Subject: [PATCH] patch 9.2.0086: Coverity complains that ScreenLines can be NULL Problem: Coverity complains that ScreenLines can be NULL (after v9.2.0080) Solution: Remove null test closes: #19538 CID: 1682067 Signed-off-by: Christian Brabandt --- src/popupwin.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/popupwin.c b/src/popupwin.c index e49a863488..1d8356ccf8 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -4414,7 +4414,7 @@ draw_opacity_padding_cell( // Prefer current screen state for detecting a wide char, since the // saved data may not contain a reliable right-half marker. - if (base_off >= 0 && ScreenLines != NULL) + if (base_off >= 0) { if (ScreenLinesUC != NULL && ScreenLinesUC[base_off] != 0 diff --git a/src/version.c b/src/version.c index d001aa53fd..e4cec84002 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 86, /**/ 85, /**/