mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
gio/tests/pollable.c: Fix build on non-Linux UNIX
For non-Linux UNIX systems, the label 'close_libutil:' in 'test_pollable_unix_pty()' will have no statement that goes with that label. Just do a 'return' on non-Linux UNIX systems.
This commit is contained in:
parent
b3b829e309
commit
cf02c280ff
@ -225,6 +225,8 @@ test_pollable_unix_pty (void)
|
||||
close_libutil:
|
||||
#ifdef __linux__
|
||||
dlclose (handle);
|
||||
#else
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user