Removed dead code
[platform/core/messaging/msg-service.git] / 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();