diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-02-02 20:08:30 -0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-03 00:12:49 -0600 |
commit | ed4cf758b75a6e99333a2245eb741040acbd6f10 (patch) | |
tree | 67771d1e4853b88200e76ceeb577b12be0810866 /gatchat/gatchat.c | |
parent | 0a28c46bf7a62f97287e93d3857e9875e1720664 (diff) | |
download | ofono-ed4cf758b75a6e99333a2245eb741040acbd6f10.tar.bz2 |
Remove dead assignments at gatchat
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r-- | gatchat/gatchat.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index e25bfd6b..e98d0df3 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -312,7 +312,6 @@ static gboolean g_at_chat_match_notify(GAtChat *chat, char *line) { GHashTableIter iter; struct at_notify *notify; - char *prefix; gpointer key, value; gboolean ret = FALSE; GAtResult result; @@ -322,7 +321,6 @@ static gboolean g_at_chat_match_notify(GAtChat *chat, char *line) result.final_or_pdu = 0; while (g_hash_table_iter_next(&iter, &key, &value)) { - prefix = key; notify = value; if (!g_str_has_prefix(line, key)) @@ -1259,7 +1257,6 @@ gboolean g_at_chat_unregister(GAtChat *chat, guint id) { GHashTableIter iter; struct at_notify *notify; - char *prefix; gpointer key, value; GSList *l; @@ -1269,7 +1266,6 @@ gboolean g_at_chat_unregister(GAtChat *chat, guint id) g_hash_table_iter_init(&iter, chat->notify_list); while (g_hash_table_iter_next(&iter, &key, &value)) { - prefix = key; notify = value; l = g_slist_find_custom(notify->nodes, GUINT_TO_POINTER(id), @@ -1294,7 +1290,6 @@ gboolean g_at_chat_unregister_all(GAtChat *chat) { GHashTableIter iter; struct at_notify *notify; - char *prefix; gpointer key, value; GSList *l; @@ -1304,7 +1299,6 @@ gboolean g_at_chat_unregister_all(GAtChat *chat) g_hash_table_iter_init(&iter, chat->notify_list); while (g_hash_table_iter_next(&iter, &key, &value)) { - prefix = key; notify = value; for (l = notify->nodes; l; l = l->next) |