Spdk/lib/vmd
Kamil Godzwon 6665722214 lib/vmd: fix build with clang 15
Used (void) on cmd and removed increment to fix
clang 15 werror.
vmd.c:368:11: error: variable 'cmd' set but not used [-Werror,-Wunused-but-set-variable]
          uint16_t cmd = dev->header->zero.command;
                   ^
1 error generated.

Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com>
Change-Id: I4e383ac41b46d13df0210bf90f11f6130290f243
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16127
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2023-01-10 13:10:00 +00:00
..
led.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_vmd.map vmd: method for forcing a rescan 2022-09-01 08:48:32 +00:00
vmd_internal.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vmd_spec.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vmd.c lib/vmd: fix build with clang 15 2023-01-10 13:10:00 +00:00