提交 5bdeb1d7 编写于 作者: S shiqichang

Description:fix code warnings

issuesno:https://gitee.com/openharmony/graphic_ui/issues/I5GT4I?from=project-issue
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: Nshiqichang <shiqichang@huawei.com>
Change-Id: I7ab64ad8ca43e5e91940599bedfc741f1a1e280d

Change-Id: If68dbb48a36fe3914a7b896655a782bb7c2e00ad
上级 bf1a6240
......@@ -169,7 +169,6 @@ void DrawArc::DrawCircleNoEndpoint(BufferInfo& gfxDstBuffer,
}
if (y_ <= -inRadius_) {
lineEnd_ = -1;
xi = -1;
break;
}
if (currentSqr < inRadiusSqr_) {
......
......@@ -140,11 +140,9 @@ bool ImageLoad::Unzip24Image(uint8_t* imageBuffer, uint32_t size, ImageInfo& ima
*dest = value | BITMAP_ALPHA_MASK;
dest++;
} else {
value = 0;
value = ((*source)) + (*(source + BITMAP_MID_BIT) << MOVE_LOW) + (*(source + BITMAP_LOW_BIT) << MOVE_HIGH);
source = source + BITMAP_ZIP_LEN;
count = 0;
count = ((*source)) + (*(source + BITMAP_MID_BIT) << MOVE_LOW) + (*(source + BITMAP_LOW_BIT) << MOVE_HIGH);
source = source + BITMAP_ZIP_LEN;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册