Whamcloud - gitweb
LU-16518 lnet: fix incorrectly initialized variables 84/55084/2
authorTimothy Day <timday@amazon.com>
Mon, 13 May 2024 03:39:08 +0000 (03:39 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 04:50:53 +0000 (04:50 +0000)
commit134e325d8f97a39fa2e063f6162c45cf6677f3cc
tree87ff3898b8697cebfbf65cca990b049daa74606b
parent08c488ab8a1050b41dd59b846980080866e5f635
LU-16518 lnet: fix incorrectly initialized variables

Clang 12 complained about an uninitialized 'off' in
brw_test.c, fixed by removing the dual declaration.

Also, init 'rc' in yaml_import_global_settings().

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I893149110120975c91839e73241b311a53c6e195
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55084
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/selftest/brw_test.c
lnet/utils/lnetctl.c