projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db18cd
)
systemctl: Prevent state_missing from being used uninit
author
Chris Down
<chris@chrisdown.name>
Fri, 7 Jun 2019 05:22:41 +0000
(06:22 +0100)
committer
Chris Down
<chris@chrisdown.name>
Fri, 7 Jun 2019 05:33:35 +0000
(06:33 +0100)
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index
e043afc
..
1158914
100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-1942,7
+1942,7
@@
static void output_machines_list(struct machine_info *machine_infos, unsigned n)
statelen = STRLEN("STATE"),
failedlen = STRLEN("FAILED"),
jobslen = STRLEN("JOBS");
- bool state_missing;
+ bool state_missing
= false
;
assert(machine_infos || n == 0);