chiark / gitweb /
make gcc shut up
[elogind.git] / src / hostname / hostnamectl.c
index 3150396c70e89d2167e94616f4953d7694cea43f..afbf37db517561c32124f690b5548c43dbd99c80 100644 (file)
@@ -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;