From: jiyong.min Date: Wed, 10 Oct 2018 23:07:45 +0000 (+0900) Subject: Remove unused variable 'is_completed' X-Git-Tag: submit/tizen/20181106.000712^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b55837cb0458e096fdf4af2c3d189dc36bd3cc31;p=platform%2Fcore%2Fapi%2Fimage-util.git Remove unused variable 'is_completed' Change-Id: I00cd784952d45be9356373db6a99acdbd9557b4e --- diff --git a/include/image_util_private.h b/include/image_util_private.h index c7db3fc..d8f7672 100755 --- a/include/image_util_private.h +++ b/include/image_util_private.h @@ -125,8 +125,7 @@ typedef struct { /* for multi instance */ image_util_cb_s *_util_cb; - bool is_completed; - bool is_finish; + gboolean is_finish; GThread* thread; GAsyncQueue *queue; } transformation_s; diff --git a/src/image_util.c b/src/image_util.c index 57ef991..31807fe 100755 --- a/src/image_util.c +++ b/src/image_util.c @@ -393,7 +393,6 @@ gpointer __mm_util_thread_repeate(gpointer data) } __mm_util_destroy_color_image(pop_data); __mm_util_destroy_color_image(handle->dst); - handle->is_completed = FALSE; } image_util_debug("exit thread"); @@ -505,7 +504,6 @@ int image_util_transform_create(transformation_h * handle) _handle->start_y = -1; _handle->dst_width = 0; _handle->dst_height = 0; - _handle->is_completed = FALSE; _handle->is_finish = FALSE; _handle->set_convert = FALSE;