diff options
author | Chen Qun <kuhn.chenqun@huawei.com> | 2020-03-02 21:07:10 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-03-09 15:59:31 +0100 |
commit | 488a0ddae2de036af902f98b5b1a0c2dc0bd90b5 (patch) | |
tree | 3ce9b506e72bb57d4a65358ff1699d1affa218bc /hw/display/exynos4210_fimd.c | |
parent | 4e34d82eee9233d2b210391365b4b84ad78284cd (diff) | |
download | qemu-488a0ddae2de036af902f98b5b1a0c2dc0bd90b5.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c index ec6776680e..1c0266ce9f 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; |