summaryrefslogtreecommitdiff
path: root/redfish-core/include/event_service_manager.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-25 21:07:45 +0300
committerEd Tanous <ed@tanous.net>2022-02-07 19:41:37 +0300
commitdcf2ebc020257bc298d948fcb4da761c284e84d7 (patch)
tree5e1ee6dc29480f7b26cd39bf9a9bd0d6759bfdaa /redfish-core/include/event_service_manager.hpp
parent104f09c95af2b3068e7afd655e4cebcad2bf0617 (diff)
downloadbmcweb-dcf2ebc020257bc298d948fcb4da761c284e84d7.tar.xz
Enable readability-redundant-control-flow checks
These checks are a nice addition to our static analysis, as they simplify code quite a bit, as can be seen by this diff being negative lines. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I60ede4ad23d7e5337e811d70ddcab24bf8986891
Diffstat (limited to 'redfish-core/include/event_service_manager.hpp')
-rw-r--r--redfish-core/include/event_service_manager.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp
index b8a916c10f..556a635917 100644
--- a/redfish-core/include/event_service_manager.hpp
+++ b/redfish-core/include/event_service_manager.hpp
@@ -660,7 +660,6 @@ class EventServiceManager
subValue->updateRetryConfig(retryAttempts, retryTimeoutInterval);
subValue->updateRetryPolicy();
}
- return;
}
void loadOldBehavior()
@@ -1064,8 +1063,6 @@ class EventServiceManager
// Control would be here when Redfish file is created.
// Reset File Position as new file is created
redfishLogFilePosition = 0;
-
- return;
}
void cacheRedfishLogFile()