mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-13 10:02:50 -05:00
Code cleanup based on Clang-Tidy.
This commit is contained in:
@@ -45,6 +45,9 @@ static inline const char *rpcError(int code) {
|
||||
|
||||
case IApiRequest::RPC_INVALID_PARAMS:
|
||||
return "Invalid params";
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (code >= 400 && code < 600) {
|
||||
|
||||
Reference in New Issue
Block a user