summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
commit7ea07dcddafe573c699fc48171b57b912897e7e2 (patch)
tree35f8fb250e06a24b2c55b42359b001bd8a2ee9d9 /src/core/manager.c
parent64695e53a0f425b831ba90d467f0e7a668c1b33c (diff)
fix a couple of things found with the llvm static analyzer
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 6be8e8fbe2..2801500f90 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -3015,7 +3015,7 @@ bool manager_unit_pending_inactive(Manager *m, const char *name) {
void manager_check_finished(Manager *m) {
char userspace[FORMAT_TIMESPAN_MAX], initrd[FORMAT_TIMESPAN_MAX], kernel[FORMAT_TIMESPAN_MAX], sum[FORMAT_TIMESPAN_MAX];
- usec_t kernel_usec = 0, initrd_usec = 0, userspace_usec = 0, total_usec = 0;
+ usec_t kernel_usec, initrd_usec, userspace_usec, total_usec;
assert(m);