Removed dead code 63/289963/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093401 accepted/tizen/unified/20230320.021838 tizen_8.0_m2_release
authorKamaljeet Chauhan <kamal.jc@samsung.com>
Thu, 16 Mar 2023 08:48:05 +0000 (14:18 +0530)
committerKamaljeet Chauhan <kamal.jc@samsung.com>
Thu, 16 Mar 2023 08:48:05 +0000 (14:18 +0530)
Change-Id: I9be2305ee81032c1c3d3fbe075c437312a5eb6a7
Signed-off-by: Kamaljeet Chauhan <kamal.jc@samsung.com>
utils/MsgUtilFile.cpp

index 9b00350..9fec3db 100755 (executable)
@@ -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();