提交 6bd55e9f 编写于 作者: O openharmony_ci 提交者: Gitee

!490 多余代码

Merge pull request !490 from wangtiantian/bug_file_m
......@@ -74,7 +74,6 @@ RetCode FileImgDecoder::GetHeader(ImgResDsc& dsc)
return RetCode::FAIL;
}
dsc.fd = fd;
readCount = read(fd, &dsc.imgInfo.header, sizeof(ImageHeader));
close(fd);
dsc.fd = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册