commit: a65e63f34dabc791d0bfb4e75bcc23d6af3251e7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 16:23:04 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 16:23:04 2025 +0000
URL: https://gitweb.gentoo.org/proj/steve.git/commit/?id=a65e63f3
Fix unused parameter warnings
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
steve.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/steve.cxx b/steve.cxx
index 4cbb2e9..41dc429 100644
--- a/steve.cxx
+++ b/steve.cxx
@@ -162,7 +162,7 @@ static void steve_handle_pidfd(evutil_socket_t pid_fd,
short, void *userdata) {
}
}
-static void steve_init(void *userdata, struct fuse_conn_info *conn)
+static void steve_init(void *userdata, struct fuse_conn_info *)
{
steve_state *state = static_cast<steve_state *>(userdata);
@@ -280,7 +280,7 @@ static void steve_read(
}
static void steve_write(
- fuse_req_t req, const char *buf, size_t size, off_t off,
+ fuse_req_t req, const char *, size_t size, off_t off,
struct fuse_file_info *fi)
{
steve_state *state = static_cast<steve_state *>(fuse_req_userdata(req));