From 666242bc9e06ab4acacba3045c01ad2a25bc7b16 Mon Sep 17 00:00:00 2001 From: Kamaljeet Chauhan Date: Thu, 16 Mar 2023 14:18:05 +0530 Subject: [PATCH] Removed dead code Change-Id: I9be2305ee81032c1c3d3fbe075c437312a5eb6a7 Signed-off-by: Kamaljeet Chauhan --- utils/MsgUtilFile.cpp | 6 ------ 1 file changed, 6 deletions(-) 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(); -- 2.7.4