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 <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2026-03-01 17:21:16 +00:00
parent a5af4352cf
commit 08e758bb70
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
86,
/**/
85,
/**/