Change-Id: I0ddb64995f577594b506ec95a40302078afa953a
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
case CTSVC_VCARD_IMG_AVI:
return "avi";
case CTSVC_VCARD_IMG_JPEG:
- case CTSVC_VCARD_IMG_NONE:
- default:
return "jpeg";
+ default:
+ ERR("Wrong Image type is: CTSVC_VCARD_IMG_NONE");
+ return NULL;
}
}
ret = _ctsvc_image_encode(src, dest, CTSVC_IMAGE_MAX_SIZE);
if (CONTACTS_ERROR_NONE == ret)
return ret;
+#if 0
else
/* LCOV_EXCL_START */
ERR("_ctsvc_image_encode Fail(%d)", ret);
close(src_fd);
close(dest_fd);
-
+#endif
return CONTACTS_ERROR_NONE;
}