commit | c5e0f31c4e6c69a1d50168dfdcc3537cdaf56fc6 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Dec 27 15:54:31 2021 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Wed Dec 29 10:12:13 2021 +0800 |
tree | defaf227d3a8268b5c3e0fc79a3560921214756a | |
parent | db6d763891a8526197478c24616b8740f92742d5 [diff] [blame] |
Fix some warnings by cppcheck Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Icee0abe2e3130aa225db776efdcd47200eb38f8d
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp index d59aa16..fb4f891 100644 --- a/fault-monitor/fru-fault-monitor.cpp +++ b/fault-monitor/fru-fault-monitor.cpp
@@ -78,6 +78,7 @@ elog<ObjectNotFoundErr>(ObjectNotFoundError::METHOD_NAME("GetObject"), ObjectNotFoundError::PATH(path.c_str()), ObjectNotFoundError::INTERFACE(OBJMGR_IFACE)); + return {}; } return mapperResponse.cbegin()->first;