From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Sat, 19 Jun 2021 19:38:25 +0000 (+0200) Subject: patch 8.2.3020: unreachable code X-Git-Tag: v8.2.3020 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fb749568662c86992aea3b596458b9e470f223d;p=vim patch 8.2.3020: unreachable code Problem: Unreachable code. Solution: Remove the code. (closes #8406) --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 45f94017f..2a9983f8a 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -4523,9 +4523,6 @@ invalid_range(exarg_T *eap) #endif break; case ADDR_UNSIGNED: - if (eap->line2 < 0) - return _(e_invrange); - break; case ADDR_NONE: // Will give an error elsewhere. break; diff --git a/src/version.c b/src/version.c index adde02e85..d1201f4f6 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3020, /**/ 3019, /**/