add return value
[platform/core/uifw/libtbm.git] / src / tbm_surface_internal.c
index 0e6f1f5..433dcc4 100644 (file)
@@ -635,6 +635,7 @@ tbm_surface_internal_query_supported_formats(uint32_t **formats,
                        goto fail;
                }
                /* LCOV_EXCL_STOP */
+               ret = 1;
        } else if (bufmgr->backend_module_data) {
                if (!bufmgr->bufmgr_func->bufmgr_get_supported_formats) {
                        _tbm_set_last_result(TBM_ERROR_NOT_SUPPORTED);