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:
Chun-wei Fan 2021-02-27 10:53:53 +08:00
parent b3b829e309
commit cf02c280ff

View File

@ -225,6 +225,8 @@ test_pollable_unix_pty (void)
close_libutil:
#ifdef __linux__
dlclose (handle);
#else
return;
#endif
}