diff --git a/src/include/binary_hist.h b/src/include/binary_hist.h index 0c10e85f1..0b6fcfcf1 100644 --- a/src/include/binary_hist.h +++ b/src/include/binary_hist.h @@ -43,7 +43,7 @@ static inline int binary_hist_size(const struct binary_hist *bh) { if (!bh) - return -EINVAL; + return -EINVAL; return bh->bh_num_buckets; } diff --git a/src/include/raft_net.h b/src/include/raft_net.h index 35295d115..c0dfed733 100644 --- a/src/include/raft_net.h +++ b/src/include/raft_net.h @@ -761,7 +761,7 @@ raft_net_client_user_id_to_string(const struct raft_net_client_user_id *rncui, RAFT_NET_CLIENT_USER_ID_FMT_ARGS(rncui, uuid_str, 0)); if (rc < 0) - return rc; + return rc; return ((size_t)rc > (out_string_len - 1)) ? -ENOSPC : 0; } diff --git a/test/raft-reference-client.c b/test/raft-reference-client.c index 9fc9a8142..be912bfac 100644 --- a/test/raft-reference-client.c +++ b/test/raft-reference-client.c @@ -1106,11 +1106,11 @@ raft_client_test_instance_hist_lreg_multi_facet_handler( struct lreg_value *lv) { if (!lv || !rihs) - return -EINVAL; + return -EINVAL; int hsz = binary_hist_size(&rihs->rihs_bh); if (hsz < 0) - return hsz; + return hsz; if (lv->lrv_value_idx_in >= (uint32_t)hsz) return -EINVAL;