Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 21:50:00 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286972 - head/contrib/hyperv/tools
Message-ID:  <201508202150.t7KLo0bA059721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508202150.t7KLo0bA059721>