mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
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:
+1
-1
@@ -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
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
86,
|
||||
/**/
|
||||
85,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user