diff options
author | Nikias Bassen | 2010-08-15 01:39:44 +0200 |
---|---|---|
committer | Nikias Bassen | 2010-08-15 01:39:44 +0200 |
commit | 34ebb8accc32a161bd6a7cebf9d8c909696d0634 (patch) | |
tree | 7b5e1981b744cd68dc1bc5d71f54102fa42411ee /src | |
parent | d133d337087ebb3171596c428715821eb0780ff5 (diff) | |
download | libimobiledevice-34ebb8accc32a161bd6a7cebf9d8c909696d0634.tar.gz libimobiledevice-34ebb8accc32a161bd6a7cebf9d8c909696d0634.tar.bz2 |
device_link_service: removed unused local variable
Diffstat (limited to 'src')
-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; } |