Skip to content

gio/tests/pollable.c: Fix build on non-Linux UNIX

Chun-wei Fan requested to merge fix.unix.nonlinux.ci into master

Hi,

From the commit message:

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 will fix the build on BSD and macOS where the build failed with ../gio/tests/pollable.c:229:1: error: expected statement.

With blessings, thank you!

Merge request reports