From: Kamaljeet Chauhan Date: Thu, 16 Mar 2023 08:48:05 +0000 (+0530) Subject: Removed dead code X-Git-Tag: accepted/tizen/8.0/unified/20231005.093401^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F289963%2F1;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Removed dead code Change-Id: I9be2305ee81032c1c3d3fbe075c437312a5eb6a7 Signed-off-by: Kamaljeet Chauhan --- diff --git a/utils/MsgUtilFile.cpp b/utils/MsgUtilFile.cpp index 9b00350..9fec3db 100755 --- a/utils/MsgUtilFile.cpp +++ b/utils/MsgUtilFile.cpp @@ -71,15 +71,9 @@ bool MakeThumbnail(char *srcPath, char *dstPath) int time_ret = 0; int ret = THUMBNAIL_UTIL_ERROR_NONE; - char *req_id = NULL; ret = thumbnail_util_extract_to_file(srcPath, THUMB_WIDTH, THUMB_HEIGHT, dstPath); - if (req_id) { - g_free(req_id); - req_id = NULL; - } - if (ret != THUMBNAIL_UTIL_ERROR_NONE) { MSG_ERR("thumbnail_util_extract_to_file is failed"); g_mx.unlock();