mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
*: Fix new linter errors
Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
This commit is contained in:
@@ -419,8 +419,8 @@ void msgpack_rpc_validate(uint64_t *response_id,
|
||||
return;
|
||||
}
|
||||
|
||||
if ((type == kMessageTypeRequest && req->via.array.size != 4) ||
|
||||
(type == kMessageTypeNotification && req->via.array.size != 3)) {
|
||||
if ((type == kMessageTypeRequest && req->via.array.size != 4)
|
||||
|| (type == kMessageTypeNotification && req->via.array.size != 3)) {
|
||||
api_set_error(err, Validation, _("Request array size should be 4 (request) "
|
||||
"or 3 (notification)"));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user