qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 07/13] display/exynos4210_fimd: Remove redundant statement in


From: kuhn.chenqun
Subject: [PATCH v2 07/13] display/exynos4210_fimd: Remove redundant statement in exynos4210_fimd_update()
Date: Wed, 26 Feb 2020 16:46:41 +0800

From: Chen Qun <address@hidden>

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 <address@hidden>
Signed-off-by: Chen Qun <address@hidden>
---
Cc: Igor Mitsyanko <address@hidden>
Cc: Peter Maydell <address@hidden>
---
 hw/display/exynos4210_fimd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c
index c1071ecd46..05d3265b76 100644
--- a/hw/display/exynos4210_fimd.c
+++ b/hw/display/exynos4210_fimd.c
@@ -1310,7 +1310,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;
-- 
2.23.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]