Skip to content

Commit

Permalink
display/exynos4210_fimd: Remove redundant statement in exynos4210_fim…
Browse files Browse the repository at this point in the history
…d_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>
  • Loading branch information
Kuhn-Chen authored and vivier committed Mar 9, 2020
1 parent 4e34d82 commit 488a0dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/display/exynos4210_fimd.c
Expand Up @@ -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;
Expand Down

0 comments on commit 488a0dd

Please sign in to comment.