summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-16 17:12:46 -0700
committerPatrick Venture <venture@google.com>2018-10-16 17:14:24 -0700
commit48706cbe016f81b5ef9e99d9534cef009bce4daa (patch)
treeed33acc2af66933cc7ccbeac4ae4a66c01af05e0
parent5fcff6720ecfbf6452d603ae9520b9b4c27192c7 (diff)
downloadipmi-fru-parser-48706cbe016f81b5ef9e99d9534cef009bce4daa.tar.gz
ipmi-fru-parser-48706cbe016f81b5ef9e99d9534cef009bce4daa.zip
writefrudata: delete unused variable
[writefrudata.cpp:580]: (style) Unused variable: defined_fru_area Change-Id: Ic39b668db44e0111c078c214ed5d1ca11cb7b4bb Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--writefrudata.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/writefrudata.cpp b/writefrudata.cpp
index 1b8acba..a6c097e 100644
--- a/writefrudata.cpp
+++ b/writefrudata.cpp
@@ -577,7 +577,6 @@ int ipmi_validate_fru_area(const uint8_t fruid, const char *fru_file_name,
// Vector that holds individual IPMI FRU AREAs. Although MULTI and INTERNAL
// are not used, keeping it here for completeness.
fru_area_vec_t fru_area_vec;
- std::vector<std::string> defined_fru_area;
for(uint8_t fru_entry = IPMI_FRU_INTERNAL_OFFSET;
fru_entry < (sizeof(struct common_header) -2); fru_entry++)
OpenPOWER on IntegriCloud