diff --git a/env/io_posix.h b/env/io_posix.h index 606e932bb..65c74758c 100644 --- a/env/io_posix.h +++ b/env/io_posix.h @@ -97,6 +97,9 @@ inline void UpdateResult(struct io_uring_cqe* cqe, const std::string& file_name, cqe->res); } } +#ifdef NDEBUG + (void)len; +#endif } #endif