Fix -Wreturn-type warning

This commit is contained in:
sfc-gh-tclinkenbeard 2021-01-22 12:13:29 -08:00
parent 8d0f9e1ac8
commit 82a8f1c763
1 changed files with 3 additions and 0 deletions

View File

@ -855,6 +855,9 @@ static bool checkCompatible(const PeerCompatibilityPolicy& policy, ProtocolVersi
return version.version() == policy.version.version();
case RequirePeer::AtLeast:
return version.version() >= policy.version.version();
default:
ASSERT(false);
return false;
}
}