From aaf6e34b8906ac21e50d4b6222de0afc8d9e6c84 Mon Sep 17 00:00:00 2001 From: Sergey Belyakov Date: Mon, 22 Jan 2024 17:31:36 +0000 Subject: [PATCH] Remove inaccessible code from TCompatibilityInfo::CheckCompatibility, #1208 --- ydb/core/driver_lib/version/version.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ydb/core/driver_lib/version/version.cpp b/ydb/core/driver_lib/version/version.cpp index 72f38fac612c..4781640d0339 100644 --- a/ydb/core/driver_lib/version/version.cpp +++ b/ydb/core/driver_lib/version/version.cpp @@ -648,10 +648,6 @@ bool TCompatibilityInfo::CheckCompatibility(const TCurrent* current, const TOldF + PrintStoredAndCurrent(peer, current); return false; } - - errorReason = "Peer version tag doesn't match any current compatibility rule, current version is not in accepted tags list, " - + PrintStoredAndCurrent(peer, current); - return false; } bool TCompatibilityInfo::CheckCompatibility(const TOldFormat& peer, TComponentId componentId, TString& errorReason) const {