mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Merge branch 'cancellable-disable-assert' into 'master'
gcancellable: Mark a variable as unused if built with G_DISABLE_ASSERT See merge request GNOME/glib!1635
This commit is contained in:
commit
bdcf193c2e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user