Fix Svace Issue 20/102620/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.100259 accepted/tizen/3.0.m2/wearable/20170104.101036 accepted/tizen/3.0/common/20161207.194940 accepted/tizen/3.0/ivi/20161207.014101 accepted/tizen/3.0/mobile/20161207.014027 accepted/tizen/3.0/wearable/20161207.014042 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0/20161207.002500
authorJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:00:50 +0000 (17:00 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:00:50 +0000 (17:00 +0900)
Change-Id: I19ed455a5dea2686f019f650e8d1db74edbe1656

src/account.c

index f083f3d..7d54ff5 100644 (file)
@@ -1776,11 +1776,6 @@ static int _account_get_total_count(int *count, bool include_hidden)
 
        GError *error = NULL;
 
-       if (count == NULL) {
-               _INFO("Invalid input");
-               return -1;
-       }
-
        AccountManager *acc_mgr = _account_manager_get_instance();
        if (acc_mgr == NULL) {
                _ERR("g_bus_get_sync failed");