chiark / gitweb /
fix gcc warnings about uninitialized variables
[elogind.git] / src / resolve / test-dns-domain.c
index 2f3edaf783d6443e8d8bda3d86971719b644a0a4..c3208abc7854ef03ed69659cb3e455e438408254 100644 (file)
@@ -161,7 +161,7 @@ static void test_dns_name_single_label(void) {
 
 static void test_dns_name_reverse_one(const char *address, const char *name) {
         _cleanup_free_ char *p = NULL;
-        union in_addr_union a, b;
+        union in_addr_union a, b = {};
         int familya, familyb;
 
         assert_se(in_addr_from_string_auto(address, &familya, &a) >= 0);