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>
diff --git a/src/register.c b/src/register.c
index c9bc752..3ca425b 100644
--- a/src/register.c
+++ b/src/register.c
@@ -198,6 +198,7 @@
#endif
)
return TRUE;
+#ifndef FEAT_CLIPBOARD
// clipboard support not enabled in this build
else if (regname == '*' || regname == '+')
{
@@ -205,6 +206,7 @@
msg_warn_missing_clipboard();
return FALSE;
}
+#endif
return FALSE;
}
diff --git a/src/version.c b/src/version.c
index 5c775b0..bb0de39 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 858,
+/**/
857,
/**/
856,