haltest: init fb_damage 06/211206/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 31 Jul 2019 06:48:40 +0000 (15:48 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 31 Jul 2019 06:48:43 +0000 (15:48 +0900)
Change-Id: I6f27a24b548d33edbd094e11ebdb27154039c9a2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
haltests/src/tc_tdm_output.cpp

index 75aefe4..7707c7d 100644 (file)
@@ -280,7 +280,7 @@ tc_tdm_output_unset(tdm_display *dpy, tdm_output *output)
        tdm_hwc *thwc = NULL;
        const tdm_output_mode *mode = NULL;
        tdm_output_dpms dpms = TDM_OUTPUT_DPMS_OFF;
-       tdm_region fb_damage;
+       tdm_region fb_damage = {0, };
        uint32_t num = 0;
 
        if (tc_tdm_output_is_hwc_enable(output)) {