aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gamma-x-randr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-x-randr.c b/src/gamma-x-randr.c
index 5eca1c8..6639e8f 100644
--- a/src/gamma-x-randr.c
+++ b/src/gamma-x-randr.c
@@ -105,6 +105,10 @@ void libgamma_x_randr_method_capabilities(libgamma_method_capabilities_t* restri
}
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Waggregate-return"
+
+
/**
* Initialise an allocated site state
*
@@ -319,3 +323,6 @@ int libgamma_x_randr_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
return 0;
}
+
+# pragma GCC diagnostic pop
+