patch 9.1.0858: Coverity complains about dead code
Problem: Coverity complains about dead code
(after v9.1.0852)
Solution: adjust #ifdef FEAT_CLIPBOARD
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -198,6 +198,7 @@ valid_yank_reg(
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
#ifndef FEAT_CLIPBOARD
|
||||||
// clipboard support not enabled in this build
|
// clipboard support not enabled in this build
|
||||||
else if (regname == '*' || regname == '+')
|
else if (regname == '*' || regname == '+')
|
||||||
{
|
{
|
||||||
@ -205,6 +206,7 @@ valid_yank_reg(
|
|||||||
msg_warn_missing_clipboard();
|
msg_warn_missing_clipboard();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
858,
|
||||||
/**/
|
/**/
|
||||||
857,
|
857,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user