mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
tests: Fix defined-but-not-used variables if HAVE_OPENPTY is undefined
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
8640f95106
commit
3b87740e3e
@ -209,9 +209,9 @@ test_pollable_unix_pipe (void)
|
||||
static void
|
||||
test_pollable_unix_pty (void)
|
||||
{
|
||||
#ifdef HAVE_OPENPTY
|
||||
GPollableInputStream *in = NULL;
|
||||
GOutputStream *out = NULL;
|
||||
#ifdef HAVE_OPENPTY
|
||||
int a, b, status;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user