]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add dummy initializers to a few local variables to fix build errors on v4-only builds...
authorPaul Selkirk <pselkirk@isc.org>
Wed, 11 Feb 2009 16:58:01 +0000 (16:58 +0000)
committerPaul Selkirk <pselkirk@isc.org>
Wed, 11 Feb 2009 16:58:01 +0000 (16:58 +0000)
relay/dhcrelay.c

index 342e2eb40b67d850b4fabed56a940ba927ec4a70..e56db66897a2218c620f980d69ff6dcb6e188411 100644 (file)
@@ -164,8 +164,8 @@ main(int argc, char **argv) {
        struct servent *ent;
        struct server_list *sp = NULL;
        struct interface_info *tmp = NULL;
-       char *service_local, *service_remote;
-       u_int16_t port_local, port_remote;
+       char *service_local = NULL, *service_remote = NULL;
+       u_int16_t port_local = 0, port_remote = 0;
        int no_daemon = 0, quiet = 0;
        int fd;
        int i;