- various "cosmetics" cleanups to shut up gcc complaints on higher warning
[apt.git] / methods / ftp.cc
index ee35f80..95afe54 100644 (file)
@@ -56,9 +56,9 @@ struct AFMap
 };
 
 #ifndef AF_INET6
-struct AFMap AFMap[] = {{AF_INET,1},{}};
+struct AFMap AFMap[] = {{AF_INET,1},{0,0}};
 #else
-struct AFMap AFMap[] = {{AF_INET,1},{AF_INET6,2},{}};
+struct AFMap AFMap[] = {{AF_INET,1},{AF_INET6,2},{0,0}};
 #endif
 
 unsigned long TimeOut = 120;