]> git.sesse.net Git - plocate/commitdiff
fix unused parameter warns in io_uring_engine.cpp
authorArsen Arsenović <arsen@aarsen.me>
Mon, 23 Aug 2021 15:52:48 +0000 (17:52 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Mon, 23 Aug 2021 16:20:04 +0000 (18:20 +0200)
io_uring_engine.cpp

index eab5e8d068bdccd99db8e1f5179a31d0dd02969b..ea71c965f05becd4ecbfb3f4e1ae775196d05cab 100644 (file)
@@ -64,6 +64,10 @@ void IOUringEngine::submit_stat(const char *path, std::function<void(bool)> cb)
                qs.pathname = strdup(path);
                queued_stats.push(move(qs));
        }
+#else
+       /* unused parameters */
+       (void)path;
+       (void)cb;
 #endif
 }