diff --git a/gio/gcancellable.c b/gio/gcancellable.c index 3008ecf6f..00df6998d 100644 --- a/gio/gcancellable.c +++ b/gio/gcancellable.c @@ -349,7 +349,7 @@ g_cancellable_get_fd (GCancellable *cancellable) { GPollFD pollfd; #ifndef G_OS_WIN32 - gboolean retval; + gboolean retval G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */; #endif if (cancellable == NULL)