svn commit: r286972 - head/contrib/hyperv/tools

Pedro F. Giffuni pfg at FreeBSD.org
Thu Aug 20 21:50:00 UTC 2015


Author: pfg
Date: Thu Aug 20 21:49:59 2015
New Revision: 286972
URL: https://svnweb.freebsd.org/changeset/base/286972

Log:
  Appease gcc-4.2
  
  It needs to die, but it resists mipsteriously.
  
  Submitted by:	Oliver Pinter

Modified:
  head/contrib/hyperv/tools/hv_kvp_daemon.c

Modified: head/contrib/hyperv/tools/hv_kvp_daemon.c
==============================================================================
--- head/contrib/hyperv/tools/hv_kvp_daemon.c	Thu Aug 20 21:31:36 2015	(r286971)
+++ head/contrib/hyperv/tools/hv_kvp_daemon.c	Thu Aug 20 21:49:59 2015	(r286972)
@@ -811,7 +811,7 @@ kvp_get_ip_info(int family, char *if_nam
 	int error = 0;
 	char *buffer;
 	size_t buffer_length;
-	struct hv_kvp_ipaddr_value *ip_buffer;
+	struct hv_kvp_ipaddr_value *ip_buffer = NULL;
 	char cidr_mask[5];
 	int weight;
 	int i;


More information about the svn-src-all mailing list