commit:     ae44573fa7545dd1bfe05cd0f11948f702f99631
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 27 10:57:13 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 27 10:57:13 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=ae44573f

Ignore missing field initializers for FUSE structure

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 steve.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/steve.cxx b/steve.cxx
index fda4a08..5b09ae1 100644
--- a/steve.cxx
+++ b/steve.cxx
@@ -302,6 +302,8 @@ static void steve_poll(
        fuse_reply_poll(req, events);
 }
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
 static const struct cuse_lowlevel_ops steve_ops = {
        .init = steve_init,
        .destroy = steve_destroy,
@@ -311,6 +313,7 @@ static const struct cuse_lowlevel_ops steve_ops = {
        .release = steve_release,
        .poll = steve_poll,
 };
+#pragma GCC diagnostic pop
 
 static void steve_handle_sigusr1(evutil_socket_t, short, void *userdata) {
        steve_state *state = static_cast<steve_state *>(userdata);

Reply via email to