summaryrefslogtreecommitdiffstats
path: root/src/call-forwarding.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-12-17 12:51:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-12-17 12:51:18 -0600
commit8b848e2b7ee317ecdf8839b1e55a6d30b7e9c351 (patch)
tree6ae1bea58cf881fef1b83dd4307a8cba3f2f8dd6 /src/call-forwarding.c
parent8f8ae1b62f78fcccd832f9231480d0aeafb3490d (diff)
downloadofono-8b848e2b7ee317ecdf8839b1e55a6d30b7e9c351.tar.bz2
call-forwarding: Get rid of unneeded variable
Diffstat (limited to 'src/call-forwarding.c')
-rw-r--r--src/call-forwarding.c3
1 files changed, 1 insertions, 2 deletions
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,