From 1edc3916ff631575532bbe9814846e287195300f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 13 Nov 2022 15:11:54 -0800 Subject: [PATCH] configure: Fix the struct nvme_uring_cmd detection Prevent that struct nvme_uring_cmd detection fails as follows: error: unused variable 'cmd' [-Werror=unused-variable] Signed-off-by: Bart Van Assche --- configure | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure b/configure index 60b58cd2..1b12d268 100755 --- a/configure +++ b/configure @@ -2638,8 +2638,6 @@ cat > $TMPC << EOF #include int main(void) { - struct nvme_uring_cmd *cmd; - return sizeof(struct nvme_uring_cmd); } EOF -- 2.25.1