Skip to content

Commit 18b2166

Browse files
Dmitry AkhmedzhanovSimon Raviv
authored andcommitted
Fixed rdma-cm related compilation warnings on FreeBSD
Description: non-initialized variable Signed-off-by: Dmitry Akhmedzhanov <[email protected]>
1 parent d391428 commit 18b2166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/perftest_resources.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5214,7 +5214,7 @@ int run_iter_fs(struct pingpong_context *ctx, struct perftest_parameters *user_p
52145214
int rdma_cm_allocate_nodes(struct pingpong_context *ctx,
52155215
struct perftest_parameters *user_param, struct rdma_addrinfo *hints)
52165216
{
5217-
int rc = SUCCESS, i;
5217+
int rc = SUCCESS, i = 0;
52185218
char *error_message = "";
52195219

52205220
if (user_param->connection_type == UD

0 commit comments

Comments
 (0)