mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
fix code alarms
Signed-off-by: yuyanqinghw <yuyanqing539@huawei.com>
This commit is contained in:
parent
ac4d6dc12d
commit
df4df71aa2
@ -473,7 +473,8 @@ public:
|
||||
} else {
|
||||
HLOGW("type not found for %d in %zu", type_id, TYPE_CONFIGS.size());
|
||||
}
|
||||
return StringPrintf("0x%llx", config_id);;
|
||||
std::string configName = StringPrintf("0x%llx", config_id);
|
||||
return configName;
|
||||
};
|
||||
|
||||
static const std::tuple<bool, perf_type_id, __u64> GetStaticConfigId(const std::string &event_name)
|
||||
|
Loading…
Reference in New Issue
Block a user