From a1c3f34eb713cc2301cef52e2e42092505cbf041 Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Tue, 14 Jun 2016 19:11:42 +0900 Subject: [PATCH] Apply tizen coding rule Change-Id: I246dc867786289295bd7ebc56f1836eb21069794 Signed-off-by: Jiyong Min --- svc/media_controller_db_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/svc/media_controller_db_util.c b/svc/media_controller_db_util.c index 003d20a..8da5ae9 100644 --- a/svc/media_controller_db_util.c +++ b/svc/media_controller_db_util.c @@ -213,9 +213,8 @@ int mc_db_util_connect(void **handle, uid_t uid) sqlite3_free(sql); if (SQLITE_OK != ret) { - if (*handle) { + if (*handle) mc_error("[error when change the journal mode] %s", sqlite3_errmsg(*handle)); - } db_util_close(*handle); *handle = NULL; -- 2.7.4