layer: reset flags in case of success 40/170440/2
authorBoram Park <boram1288.park@samsung.com>
Tue, 20 Feb 2018 04:59:48 +0000 (13:59 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 20 Feb 2018 06:13:19 +0000 (06:13 +0000)
Change-Id: Ib8a9b489b22d0b7bf9381ba01cd87350128b5f97

src/tdm_layer.c

index 9add055..a185ae5 100644 (file)
@@ -1341,6 +1341,7 @@ tdm_layer_get_buffer_flags(tdm_layer *layer, unsigned int *flags)
 
        if (!func_layer->layer_get_buffer_flags) {
                /* LCOV_EXCL_START */
+               *flags = 0;
                _pthread_mutex_unlock(&private_display->lock);
                TDM_ERR("not implemented!!");
                return TDM_ERROR_NOT_IMPLEMENTED;