From 8b848e2b7ee317ecdf8839b1e55a6d30b7e9c351 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 17 Dec 2010 12:51:18 -0600 Subject: call-forwarding: Get rid of unneeded variable --- src/call-forwarding.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/call-forwarding.c b/src/call-forwarding.c index ed67b21e..af270bca 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -1255,7 +1255,6 @@ static void sim_cfis_read_cb(int ok, int total_length, int record, const char *number; char attr[64]; struct ofono_call_forwarding_condition *cond; - GSList *l = NULL; dbus_bool_t status; number_len = data[2]; @@ -1283,7 +1282,7 @@ static void sim_cfis_read_cb(int ok, int total_length, int record, cf_type_lut[CALL_FORWARDING_TYPE_UNCONDITIONAL]); cf->cf_conditions[CALL_FORWARDING_TYPE_UNCONDITIONAL] = - g_slist_append(l, cond); + g_slist_append(NULL, cond); ofono_dbus_signal_property_changed(conn, path, OFONO_CALL_FORWARDING_INTERFACE, -- cgit v1.2.3