From 9a528f244e068f5e5be157b0aa02452642425746 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Sat, 20 Oct 2018 13:31:28 -0700 Subject: writefrudata.cpp: fixup variable shadowing [writefrudata.cpp:176] -> [writefrudata.cpp:242]: (style) Local variable path shadows outer symbol Change-Id: I9fc35d6d67f51a0b9a2b9174c314e560d8531119 Signed-off-by: Patrick Venture --- writefrudata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/writefrudata.cpp b/writefrudata.cpp index 5304929..a831b7f 100644 --- a/writefrudata.cpp +++ b/writefrudata.cpp @@ -239,7 +239,7 @@ int updateInventory(fru_area_vec_t& area_vec, sd_bus* bus_sd) } // Call the inventory manager - sdbusplus::message::object_path path = instance.path; + sdbusplus::message::object_path objectPath = instance.path; // Check and update extra properties if (extras.end() != extrasIter) { @@ -251,7 +251,7 @@ int updateInventory(fru_area_vec_t& area_vec, sd_bus* bus_sd) } } } - objects.emplace(path, interfaces); + objects.emplace(objectPath, interfaces); } auto pimMsg = bus.new_method_call(service.c_str(), path.c_str(), -- cgit v1.2.1