Change-Id: Ida150b4e8de0f8cecfd4a7a20cf8de6aadd758c7
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
{
int ret;
cts_stmt stmt = NULL;
- char *err_msg = NULL;
RETV_IF(NULL == ctsvc_db, CONTACTS_ERROR_DB);
ret = ctsvc_stmt_step(stmt);
if (CONTACTS_ERROR_NONE != ret)
- /* LCOV_EXCL_START */
- if (err_msg != NULL)
- ERR("ctsvc_stmt_step() Fail(%d, %s)", ret, err_msg);
+
+ /* LCOV_EXCL_START */
+
+ ERR("ctsvc_stmt_step() Fail(%d)", ret);
+
/* LCOV_EXCL_STOP */
ctsvc_stmt_finalize(stmt);