diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-path.c | 2 | ||||
-rw-r--r-- | src/test/test-pty.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c index 4f9f5c1344..a3295aa997 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -33,7 +33,7 @@ static int setup_test(Manager **m) { char **tests_path = STRV_MAKE("exists", "existsglobFOOBAR", "changed", "modified", "unit", "directorynotempty", "makedirectory"); char **test_path; - Manager *tmp; + Manager *tmp = NULL; int r; assert_se(m); 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); |