fix codecheck

Signed-off-by: wangzhaohao <wangzhaohao@huawei.com>
This commit is contained in:
wangzhaohao 2024-11-20 14:12:59 +08:00
parent c02dab93d3
commit 971ef501b0

View File

@ -394,7 +394,8 @@ int32_t DeviceProfileManager::DeleteCharacteristicProfile(const std::string& dev
return DP_SUCCESS;
}
int32_t DeviceProfileManager::DeleteRemovedUserData(int32_t userId) {
int32_t DeviceProfileManager::DeleteRemovedUserData(int32_t userId)
{
if (userId < MIN_USER_ID || userId > MAX_USER_ID) {
HILOGE("Invalid userId: %{public}d", userId);
return DP_INVALID_PARAM;