blob: 7e17bf960ee141d35eb8a68798d2dbd7ead02b49 [file] [log] [blame]
Stewart Smith8b90e5b2016-11-03 13:43:24 +11001From 9279a2bf255392321594b9457a67b796195b0891 Mon Sep 17 00:00:00 2001
2From: Stewart Smith <stewart@linux.vnet.ibm.com>
3Date: Wed, 31 Aug 2016 13:07:17 +1000
4Subject: [PATCH 09/10] =?UTF-8?q?error:=20in=20C++98=20=E2=80=98l=5FvmVers?=
5 =?UTF-8?q?ionBuf=E2=80=99=20must=20be=20initialized=20by=20constructor?=
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10fix GCC6 thrown error
11
12Change-Id: I9aa508843f54c99ebb59822c39590811423ad0b1
13Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
14---
15 src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C b/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C
19index 3739c75..a4685ad 100755
20--- a/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C
21+++ b/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C
22@@ -392,7 +392,7 @@ fapi::ReturnCode getVersion (const fapi::Target & i_mbaTarget,
23 fapi::Target l_mbTarget;
24 fapi::MBvpdKeyword l_keyword = fapi::MBVPD_KEYWORD_VM; // try VM first
25 fapi::MBvpdRecord l_record = fapi::MBVPD_RECORD_SPDX; // default to SPDX
26- MBvpdVMKeyword l_vmVersionBuf={};
27+ MBvpdVMKeyword l_vmVersionBuf;
28 uint32_t l_version = 0;
29 uint32_t l_vmBufSize = sizeof(MBvpdVMKeyword); // VM keyword is of 4 bytes.
30 uint16_t l_versionBuf = 0;
31--
322.7.4
33