Stewart Smith | 8b90e5b | 2016-11-03 13:43:24 +1100 | [diff] [blame] | 1 | From 9279a2bf255392321594b9457a67b796195b0891 Mon Sep 17 00:00:00 2001 |
| 2 | From: Stewart Smith <stewart@linux.vnet.ibm.com> |
| 3 | Date: Wed, 31 Aug 2016 13:07:17 +1000 |
| 4 | Subject: [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?= |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: text/plain; charset=UTF-8 |
| 8 | Content-Transfer-Encoding: 8bit |
| 9 | |
| 10 | fix GCC6 thrown error |
| 11 | |
| 12 | Change-Id: I9aa508843f54c99ebb59822c39590811423ad0b1 |
| 13 | Signed-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 | |
| 18 | diff --git a/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C b/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.C |
| 19 | index 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 | -- |
| 32 | 2.7.4 |
| 33 | |