summaryrefslogtreecommitdiff
path: root/src/lib/ethumb_client
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-09 12:35:55 +0100
committerTom Hacohen <tom@stosb.com>2015-10-09 12:35:55 +0100
commit80c8215559e82cafb4cf2fcc437e71908bb13208 (patch)
tree7f7ea8f8eb9174268db9ca40558a49d199567f4c /src/lib/ethumb_client
parent896c18045aafb9c677d8d41b4876c47db2b4d5ce (diff)
Ethumb client: Fix shadow issues (warnings).
Diffstat (limited to 'src/lib/ethumb_client')
-rw-r--r--src/lib/ethumb_client/ethumb_client.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/ethumb_client/ethumb_client.c b/src/lib/ethumb_client/ethumb_client.c
index 2bae0dcdd3..55b22f6c10 100644
--- a/src/lib/ethumb_client/ethumb_client.c
+++ b/src/lib/ethumb_client/ethumb_client.c
@@ -200,11 +200,16 @@ _ethumb_client_free(Ethumb_Client *client)
200{ 200{
201 void *data; 201 void *data;
202 Eldbus_Object *obj; 202 Eldbus_Object *obj;
203 Eldbus_Pending *pending;
204 203
205 if (client->invalid) return; 204 if (client->invalid)
206 EINA_LIST_FREE(client->dbus_pending, pending) 205 return;
207 eldbus_pending_cancel(pending); 206
207 {
208 Eldbus_Pending *pending;
209 EINA_LIST_FREE(client->dbus_pending, pending)
210 eldbus_pending_cancel(pending);
211 }
212
208 client->invalid = EINA_TRUE; 213 client->invalid = EINA_TRUE;
209 EINA_LIST_FREE(client->pending_add, data) 214 EINA_LIST_FREE(client->pending_add, data)
210 { 215 {