diff options
author | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-30 10:44:34 +0900 |
---|---|---|
committer | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-30 10:44:45 +0900 |
commit | 74c6314ea7b87115504ca7818a43d62036b843a1 (patch) | |
tree | be5e383bf06372505816f6b0341a2769215f1a7a | |
parent | 7b40c2ad218c2d15f33556b7bc1a29bb14d41b93 (diff) | |
download | libslp-db-util-74c6314ea7b87115504ca7818a43d62036b843a1.tar.gz libslp-db-util-74c6314ea7b87115504ca7818a43d62036b843a1.tar.bz2 libslp-db-util-74c6314ea7b87115504ca7818a43d62036b843a1.zip |
[Tizen_6_build] Enable build with GCC 9.2submit/tizen/20191230.015339accepted/tizen/unified/20191230.120932
Change-Id: I1643b7eed366160bed9600fa0244d41f2113d42b
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
-rwxr-xr-x | packaging/libslp-db-util.spec | 2 | ||||
-rw-r--r-- | util_func.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packaging/libslp-db-util.spec b/packaging/libslp-db-util.spec index 84ef3fe..d44b309 100755 --- a/packaging/libslp-db-util.spec +++ b/packaging/libslp-db-util.spec @@ -1,6 +1,6 @@ Name: libslp-db-util Version: 0.1.1 -Release: 5 +Release: 6 License: Apache-2.0 Summary: DB Utility Group: Application Framework/Database diff --git a/util_func.c b/util_func.c index cd6c87c..ac0dcff 100644 --- a/util_func.c +++ b/util_func.c @@ -145,13 +145,10 @@ int db_util_open_with_options(const char *pszFilePath, sqlite3 **ppDB, int db_util_close(sqlite3 *pDB) { - char *pszErrorMsg = NULL; - /* Close DB */ int rc = sqlite3_close(pDB); if (SQLITE_OK != rc) { - DB_UTIL_TRACE_WARNING("Fail to change journal mode: %s\n", pszErrorMsg); - sqlite3_free(pszErrorMsg); + DB_UTIL_TRACE_WARNING("Fail to close DB\n"); return rc; } |