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 <venture@google.com>
diff --git a/writefrudata.cpp b/writefrudata.cpp
index 5304929..a831b7f 100644
--- a/writefrudata.cpp
+++ b/writefrudata.cpp
@@ -239,7 +239,7 @@
}
// 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 @@
}
}
}
- objects.emplace(path, interfaces);
+ objects.emplace(objectPath, interfaces);
}
auto pimMsg = bus.new_method_call(service.c_str(), path.c_str(),