From: Boram Park Date: Tue, 20 Feb 2018 04:59:48 +0000 (+0900) Subject: layer: reset flags in case of success X-Git-Tag: accepted/tizen/unified/20180221.061124~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F170440%2F2;p=platform%2Fcore%2Fuifw%2Flibtdm.git layer: reset flags in case of success Change-Id: Ib8a9b489b22d0b7bf9381ba01cd87350128b5f97 --- diff --git a/src/tdm_layer.c b/src/tdm_layer.c index 9add055..a185ae5 100644 --- a/src/tdm_layer.c +++ b/src/tdm_layer.c @@ -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;