Loading
bdev/nvme: fix the compilation warning for unused variable.
The error message is: bdev_nvme.c:456:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 456 | int rc; Reason: The CI testing pool will always use --enable-debug, but without this flag, we will see complilation warning. If we really want to catch this, it is better to really use this rc variable and print some information. Change-Id: Iec0ffcec4ec091d36044e3b36a9ac85e677b5c70 Signed-off-by:Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3001 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>