aboutsummaryrefslogtreecommitdiff
path: root/hw/display/exynos4210_fimd.c
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-03-02 21:07:10 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-03-09 15:59:31 +0100
commit488a0ddae2de036af902f98b5b1a0c2dc0bd90b5 (patch)
tree3ce9b506e72bb57d4a65358ff1699d1affa218bc /hw/display/exynos4210_fimd.c
parent4e34d82eee9233d2b210391365b4b84ad78284cd (diff)
downloadqemu-488a0ddae2de036af902f98b5b1a0c2dc0bd90b5.zip
qemu-488a0ddae2de036af902f98b5b1a0c2dc0bd90b5.tar.gz
qemu-488a0ddae2de036af902f98b5b1a0c2dc0bd90b5.tar.bz2
display/exynos4210_fimd: Remove redundant statement in exynos4210_fimd_update()
Clang static code analyzer show warning: hw/display/exynos4210_fimd.c:1313:17: warning: Value stored to 'is_dirty' is never read is_dirty = false; Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200302130715.29440-9-kuhn.chenqun@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/display/exynos4210_fimd.c')
-rw-r--r--hw/display/exynos4210_fimd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c
index ec67766..1c0266c 100644
--- a/hw/display/exynos4210_fimd.c
+++ b/hw/display/exynos4210_fimd.c
@@ -1311,7 +1311,6 @@ static void exynos4210_fimd_update(void *opaque)
}
host_fb_addr += inc_size;
fb_line_addr += inc_size;
- is_dirty = false;
}
g_free(snap);
blend = true;