Fix Svace Issue 26/102626/1
authorJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:06:25 +0000 (17:06 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 6 Dec 2016 08:06:25 +0000 (17:06 +0900)
Change-Id: I2fdb9769ba69c113b57aea79856a66e13898ba52

src/account.c

index f083f3dabbc98fd8150dc09445d477501981925b..7d54ff520dd10a8442b88ab83d05352d5c99ee9c 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");