chiark / gitweb /
fix gcc warnings about uninitialized variables
[elogind.git] / src / test / test-path.c
index 4f9f5c1344b2e718eba31b8d3260f45f14c260f5..a3295aa997d3997bb565c2fad2da3f6addf48a2a 100644 (file)
@@ -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);