summaryrefslogtreecommitdiff
path: root/src/test/test-pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-pty.c')
-rw-r--r--src/test/test-pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-pty.c b/src/test/test-pty.c
index eadecb99a0..b5f4d4f094 100644
--- a/src/test/test-pty.c
+++ b/src/test/test-pty.c
@@ -95,7 +95,7 @@ static void run_parent(Pty *pty) {
static void test_pty(void) {
pid_t pid;
- Pty *pty;
+ Pty *pty = NULL;
rcvsiz = 0;
zero(rcvbuf);