[ITC][image-util][Non-ACR] Add missing return value 64/299264/3
authorjiyong.min <jiyong.min@samsung.com>
Mon, 25 Sep 2023 00:05:53 +0000 (09:05 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 25 Sep 2023 00:10:24 +0000 (09:10 +0900)
Sometimes ITC failed due to wrong return value.

Change-Id: Ieaf6500de46a908925ce92a276599acac5e6d57b

src/itc/image-util/ITs-image-util-agif-encode.c
src/itc/image-util/ITs-image-util.c

index b72529ccc5eb7d11a62abc24401c85021c3a24a2..43fff5982aa78b4247368af4662bbf55ae7da323 100755 (executable)
@@ -283,6 +283,8 @@ int ITc_image_util_agif_encode_save_to_buffer_p(void)
 
        nRet = image_util_agif_encode_destroy(hImgUtilAgifEncode);
        PRINT_RESULT_NORETURN(IMAGE_UTIL_ERROR_NONE, nRet, "image_util_agif_encode_destroy", ImageUtilGetError(nRet));
+
+       return 0;
 }
 /** @} */
 /** @} */
index 6b65112edae44a76593bd59d2e030d984e495875..8a0d09b2e7db28d7676ae87caf06430652522778 100644 (file)
@@ -1637,6 +1637,8 @@ int ITc_image_util_encode_run_async_to_file_p(void)
 
        nRet = image_util_encode_destroy(stHandle);
        PRINT_RESULT_NORETURN(IMAGE_UTIL_ERROR_NONE, nRet, "image_util_encode_destroy", ImageUtilGetError(nRet));
+
+       return 0;
 }
 
 //& purpose: Encodes the image to a buffer with the given encode handle asynchronously.