summaryrefslogtreecommitdiff
path: root/redfish-core/lib/update_service.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2019-02-14 07:10:56 +0300
committerEd Tanous <ed.tanous@intel.com>2019-02-21 04:46:07 +0300
commit43b761d0c8f5c4c39199093ee4bcd60698e77138 (patch)
tree0d0c6132a6066fbeefb3248f5f2f73ca4b23fcc5 /redfish-core/lib/update_service.hpp
parent3eb2f35f28249b9b5dc2159a44ca75a0fa7677a5 (diff)
downloadbmcweb-43b761d0c8f5c4c39199093ee4bcd60698e77138.tar.xz
bmcweb: fix compiler warnings
This patchset attempts to fix all compiler warnings in bmcweb owned files. There are 2 warnings left, both in sdbusplus, which will be resolved in a patchset there. Tested By: Recompiled, observed warning count went from 30, to zero. Change-Id: Ife90207aa5773bc28faa8b04c732cafa5a56e4e4 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'redfish-core/lib/update_service.hpp')
-rw-r--r--redfish-core/lib/update_service.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp
index 5d5b3ea3db..9e6ea4fe5e 100644
--- a/redfish-core/lib/update_service.hpp
+++ b/redfish-core/lib/update_service.hpp
@@ -116,7 +116,6 @@ class UpdateService : public Node
auto callback = [&res](sdbusplus::message::message &m) {
BMCWEB_LOG_DEBUG << "Match fired";
- bool flag = false;
if (m.is_method_error())
{