提交 e8bba68d 编写于 作者: L lancer

Description: fix compile warning

IssueNo: https://gitee.com/openharmony/applications_sample_camera/issues/I4SJ9Y
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: Nlancer <haoshuo@huawei.com>
上级 8d61743d
......@@ -49,20 +49,6 @@ SettingDisplayAbilitySlice::~SettingDisplayAbilitySlice()
}
}
static int Callback(IOwner owner, int code, IpcIo *reply)
{
size_t src = IpcIoPopInt32(reply);
printf("[setting]IpcIoPopInt32 src -> %d\n", src);
int ret = memcpy_s(owner, sizeof(size_t), &src, sizeof(size_t));
if (ret < 0) {
printf("memcpy_s Error\n");
return -1;
}
printf("[setting]owner -> %d\n", *(int*)owner);
return 0;
}
void SettingDisplayAbilitySlice::SetButtonListener(void)
{
auto onClick = [this](UIView& view, const Event& event) -> bool {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册