From: Paul Selkirk Date: Wed, 11 Feb 2009 16:58:01 +0000 (+0000) Subject: Add dummy initializers to a few local variables to fix build errors on v4-only builds... X-Git-Tag: v4_2_0a1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c750c5881002057134decc4bedffcedb31705b1;p=thirdparty%2Fdhcp.git Add dummy initializers to a few local variables to fix build errors on v4-only builds with older versions of gcc. [rt19321] --- diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 342e2eb40..e56db6689 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -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;