summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-02-25 22:22:41 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:45 +0100
commit67c3067f1a615fd6ff0b332c2a526d052442913d (patch)
tree6cb34934fefa0e5f88b8c4eacbf98a70ee76525a /methods/ftp.cc
parent255c9e4b74fe677d723c51d3450869ad45ca5463 (diff)
fix -Wmissing-field-initializers warnings
Reported-By: gcc Git-Dch: Ignore
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 621f48476..5a87ded1c 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -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;