diff options
author | Nikias Bassen | 2010-08-15 01:39:44 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-10-04 00:33:35 +0200 |
commit | 0ce860bfd858a79fd27015eaea22b1b62ebe34a2 (patch) | |
tree | de037e7dc77a74f905f91b95a818591314e9faa5 | |
parent | e6cdcf5fecf2ee71b383b8804d9d0322b1db446b (diff) | |
download | libimobiledevice-0ce860bfd858a79fd27015eaea22b1b62ebe34a2.tar.gz libimobiledevice-0ce860bfd858a79fd27015eaea22b1b62ebe34a2.tar.bz2 |
device_link_service: removed unused local variable
-rw-r--r-- | src/device_link_service.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device_link_service.c b/src/device_link_service.c index 51fcc80..e9aa675 100644 --- a/src/device_link_service.c +++ b/src/device_link_service.c @@ -36,12 +36,11 @@ */ static char *device_link_service_get_message(plist_t dl_msg) { - uint32_t cnt = 0; plist_t cmd = 0; char *cmd_str = NULL; /* sanity check */ - if ((plist_get_node_type(dl_msg) != PLIST_ARRAY) || ((cnt = plist_array_get_size(dl_msg)) < 1)) { + if ((plist_get_node_type(dl_msg) != PLIST_ARRAY) || (plist_array_get_size(dl_msg) < 1)) { return NULL; } |