提交 f6c7a01a 编写于 作者: O openharmony_ci 提交者: Gitee

!488 重复赋值

Merge pull request !488 from wangtiantian/bug_image_m
......@@ -41,7 +41,6 @@ RetCode FileImgDecoder::Open(ImgResDsc& dsc)
dsc.inCache_ = false;
uint8_t colorMode = dsc.imgInfo.header.colorMode;
if (IsImgValidMode(colorMode)) {
dsc.imgInfo.data = nullptr;
return RetCode::OK;
} else {
return RetCode::FAIL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册