projects
/
platform
/
core
/
messaging
/
msg-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed dead code
[platform/core/messaging/msg-service.git]
/
utils
/
MsgUtilFile.cpp
diff --git
a/utils/MsgUtilFile.cpp
b/utils/MsgUtilFile.cpp
index
9b00350
..
9fec3db
100755
(executable)
--- 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;
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);
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();
if (ret != THUMBNAIL_UTIL_ERROR_NONE) {
MSG_ERR("thumbnail_util_extract_to_file is failed");
g_mx.unlock();