mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06: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
|
static void
|
||||||
test_pollable_unix_pty (void)
|
test_pollable_unix_pty (void)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_OPENPTY
|
||||||
GPollableInputStream *in = NULL;
|
GPollableInputStream *in = NULL;
|
||||||
GOutputStream *out = NULL;
|
GOutputStream *out = NULL;
|
||||||
#ifdef HAVE_OPENPTY
|
|
||||||
int a, b, status;
|
int a, b, status;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user