Some code cleanups tagged by static analysis

This commit is contained in:
seelabs
2021-06-07 11:26:27 -04:00
committed by manojsdoshi
parent 78bc2727f7
commit cd27b5f2bd
28 changed files with 60 additions and 57 deletions

View File

@@ -191,7 +191,8 @@ public:
}
Handler const*
getHandler(unsigned version, bool betaEnabled, std::string name) const
getHandler(unsigned version, bool betaEnabled, std::string const& name)
const
{
if (version < RPC::apiMinimumSupportedVersion ||
version > (betaEnabled ? RPC::apiBetaVersion