]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: drop pointless zero initialization 16833/head
authorfangxiuning <fangxiuning123@126.com>
Tue, 25 Aug 2020 07:17:52 +0000 (15:17 +0800)
committerfangxiuning <fangxiuning123@126.com>
Tue, 25 Aug 2020 07:17:52 +0000 (15:17 +0800)
src/analyze/analyze.c

index 9d64e3c76cddf8829caac1f4b4d8bc4dc60f451e..71bf8808314d58ef050df56f03073a026fb782fa 100644 (file)
@@ -899,7 +899,7 @@ static bool times_in_range(const struct unit_times *times, const struct boot_tim
 static int list_dependencies_one(sd_bus *bus, const char *name, unsigned level, char ***units, unsigned branches) {
         _cleanup_strv_free_ char **deps = NULL;
         char **c;
-        int r = 0;
+        int r;
         usec_t service_longest = 0;
         int to_print = 0;
         struct unit_times *times;