chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make gcc shut up
[elogind.git]
/
src
/
hostname
/
hostnamectl.c
diff --git
a/src/hostname/hostnamectl.c
b/src/hostname/hostnamectl.c
index 3150396c70e89d2167e94616f4953d7694cea43f..afbf37db517561c32124f690b5548c43dbd99c80 100644
(file)
--- a/
src/hostname/hostnamectl.c
+++ b/
src/hostname/hostnamectl.c
@@
-69,7
+69,7
@@
typedef struct StatusInfo {
} StatusInfo;
static void print_status_info(StatusInfo *i) {
- sd_id128_t mid
, bid
;
+ sd_id128_t mid
= {}, bid = {}
;
int r;
const char *id = NULL;
_cleanup_free_ char *pretty_name = NULL, *cpe_name = NULL;