summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ibm/management_console_rest.hpp1
-rw-r--r--test/redfish-core/include/redfish_aggregator_test.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp
index a2da64fd9a..ec8d4d653d 100644
--- a/include/ibm/management_console_rest.hpp
+++ b/include/ibm/management_console_rest.hpp
@@ -213,7 +213,6 @@ inline void handleFilePut(const crow::Request& req,
}
file << data;
- std::string origin = "/ibm/v1/Host/ConfigFiles/" + fileID;
// Push an event
if (fileExists)
{
diff --git a/test/redfish-core/include/redfish_aggregator_test.cpp b/test/redfish-core/include/redfish_aggregator_test.cpp
index 0739355974..d3c819fcc4 100644
--- a/test/redfish-core/include/redfish_aggregator_test.cpp
+++ b/test/redfish-core/include/redfish_aggregator_test.cpp
@@ -108,7 +108,6 @@ TEST(addPrefixToItem, UnsupportedURIs)
for (const auto& id : validIDs)
{
std::string initial("/redfish/v1/" + std::string(root) + "/");
- std::string correct(initial + "asdfjkl_" + std::string(id));
initial += id;
jsonRequest["@odata.id"] = initial;
addPrefixToItem(jsonRequest["@odata.id"], "asdfjkl");