summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-08-25 15:17:52 +0800
committerfangxiuning <fangxiuning123@126.com>2020-08-25 15:17:52 +0800
commit05f7a0689eb9ed7d4d8d0e9365a134c9bfbc79fd (patch)
treeeb4a59b4dbb20b8278c9945c7bb47c455252c2c6 /src/analyze
parent6f32f8e0375f3f2cc16d8e413fd711d7191ec2c4 (diff)
downloadsystemd-05f7a0689eb9ed7d4d8d0e9365a134c9bfbc79fd.tar.gz
analyze: drop pointless zero initialization
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index 9d64e3c76c..71bf880831 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -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;