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