From 9f9207b78c9ed662c38bff733d24089b28d947eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arsen=20Arsenovi=C4=87?= Date: Mon, 23 Aug 2021 17:52:48 +0200 Subject: [PATCH] fix unused parameter warns in io_uring_engine.cpp --- io_uring_engine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/io_uring_engine.cpp b/io_uring_engine.cpp index eab5e8d..ea71c96 100644 --- a/io_uring_engine.cpp +++ b/io_uring_engine.cpp @@ -64,6 +64,10 @@ void IOUringEngine::submit_stat(const char *path, std::function cb) qs.pathname = strdup(path); queued_stats.push(move(qs)); } +#else + /* unused parameters */ + (void)path; + (void)cb; #endif } -- 2.39.2