diff options
author | Nikias Bassen | 2021-07-27 03:40:21 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-07-27 03:40:21 +0200 |
commit | 5c52551e630039e9dad5a08ceaf650fa03b28207 (patch) | |
tree | a3d5b35ef75b21a6c6d9b6069fa4492705517736 /src | |
parent | ab1c815340afc2883c9ef08795eebd9bed1858c5 (diff) | |
download | libimobiledevice-5c52551e630039e9dad5a08ceaf650fa03b28207.tar.gz libimobiledevice-5c52551e630039e9dad5a08ceaf650fa03b28207.tar.bz2 |
afc: Suppress compiler warning when compiling without --enable-debug
Diffstat (limited to 'src')
-rw-r--r-- | src/afc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1009,7 +1009,6 @@ LIBIMOBILEDEVICE_API afc_error_t afc_make_link(afc_client_t client, afc_link_typ return AFC_E_INVALID_ARG; uint32_t bytes = 0; - uint64_t type = htole64(linktype); afc_error_t ret = AFC_E_UNKNOWN_ERROR; size_t target_len = strlen(target); @@ -1024,7 +1023,7 @@ LIBIMOBILEDEVICE_API afc_error_t afc_make_link(afc_client_t client, afc_link_typ return AFC_E_NO_MEM; } - debug_info("link type: %lld", type); + debug_info("link type: %lld", htole64(linktype)); debug_info("target: %s, length:%d", target, target_len); debug_info("linkname: %s, length:%d", linkname, link_len); |