remove set jn path 10/143010/1 submit/tizen/20170808.073156
authorJooseok Song <seogii.song@samsung.com>
Tue, 8 Aug 2017 07:06:33 +0000 (16:06 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 8 Aug 2017 07:06:33 +0000 (16:06 +0900)
Change-Id: I0f61c4b759de3cec7a28c549b00c33bc7094e54d

src/account_offline.c

index 649b4b8573f1d9b3c917f4aa15f6bd521e68af5d..edbdc09a5f737bb98e53cc852058d3ecf67bd5bc 100644 (file)
@@ -80,10 +80,10 @@ static int _account_user_db_open(sqlite3 **p_hAccountDB, int mode, uid_t uid)
        int  rc = 0;
        char account_db_dir[256] = {0, };
        char account_db_path[256] = {0, };
-       char account_db_jn_path[256] = {0, };
+       ACCOUNT_MEMSET(account_db_dir, 0x00, sizeof(account_db_dir));
+       ACCOUNT_MEMSET(account_db_path, 0x00, sizeof(account_db_path));
 
        ACCOUNT_GET_USER_DB_PATH(account_db_path, sizeof(account_db_path), uid);
-       ACCOUNT_GET_USER_DB_PATH(account_db_jn_path, sizeof(account_db_jn_path), uid);
        _INFO("account_db_path canonicalized = %s", account_db_path);
 
        if (!g_hAccountUserDB)
@@ -151,14 +151,12 @@ static int _account_global_db_open(int mode)
        int  rc = 0;
        char account_db_dir[256] = {0, };
        char account_db_path[256] = {0, };
-       char account_db_jn_path[256] = {0, };
        uid_t uid = -1;
 
        _INFO("start to get DB path");
 
        ACCOUNT_MEMSET(account_db_dir, 0x00, sizeof(account_db_dir));
        ACCOUNT_MEMSET(account_db_path, 0x00, sizeof(account_db_path));
-       ACCOUNT_MEMSET(account_db_jn_path, 0x00, sizeof(account_db_jn_path));
 
        if (pkgmgr_installer_info_get_target_uid(&uid) < 0) {
                ACCOUNT_ERROR("pkgmgr_installer_info_get_target_uid() fail");
@@ -175,7 +173,6 @@ static int _account_global_db_open(int mode)
        }
 
        ACCOUNT_GET_GLOBAL_DB_PATH(account_db_path, sizeof(account_db_path));
-       ACCOUNT_GET_GLOBAL_JN_PATH(account_db_jn_path, sizeof(account_db_jn_path));
 
        _INFO("account_db_path canonicalized = %s", account_db_path);