Merge pull request #4224 from sfc-gh-tclinkenbeard/fix-wreturn-type-warning
Fix -Wreturn-type warning
This commit is contained in:
commit
f4cb1b9ad8
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue