Remove unused variable 'is_completed' 37/191037/1
authorjiyong.min <jiyong.min@samsung.com>
Wed, 10 Oct 2018 23:07:45 +0000 (08:07 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Wed, 10 Oct 2018 23:08:29 +0000 (08:08 +0900)
Change-Id: I00cd784952d45be9356373db6a99acdbd9557b4e

include/image_util_private.h
src/image_util.c

index c7db3fc..d8f7672 100755 (executable)
@@ -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;
index 57ef991..31807fe 100755 (executable)
@@ -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;