!8276 fix: modify ipc warnning

Merge pull request !8276 from xingchu/master
This commit is contained in:
openharmony_ci 2024-11-06 09:45:59 +00:00 committed by Gitee
commit d6989c67fc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -131,7 +131,7 @@ int32_t ClientNotifyHichainProofException(
std::multimap<std::string, sptr<IRemoteObject>> proxyMap;
SoftbusClientInfoManager::GetInstance().GetSoftbusClientProxyMap(proxyMap);
const char *dmPkgName = "ohos.distributedhardware.devicemanager";
for (const auto proxy : proxyMap) {
for (auto proxy : proxyMap) {
if (strcmp(dmPkgName, proxy.first.c_str()) != 0) {
continue;
}