mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +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;
|
GPollFD pollfd;
|
||||||
#ifndef G_OS_WIN32
|
#ifndef G_OS_WIN32
|
||||||
gboolean retval;
|
gboolean retval G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (cancellable == NULL)
|
if (cancellable == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user