[Tizen_6_build] Enable build with GCC 9.2 62/221162/1 accepted/tizen/unified/20191230.120932 submit/tizen/20191230.015339
authorHyunjee Kim <hj0426.kim@samsung.com>
Mon, 30 Dec 2019 01:44:34 +0000 (10:44 +0900)
committerHyunjee Kim <hj0426.kim@samsung.com>
Mon, 30 Dec 2019 01:44:45 +0000 (10:44 +0900)
Change-Id: I1643b7eed366160bed9600fa0244d41f2113d42b
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
packaging/libslp-db-util.spec
util_func.c

index 84ef3fe..d44b309 100755 (executable)
@@ -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
index cd6c87c..ac0dcff 100644 (file)
@@ -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;
        }