summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-04-13 12:55:49 +0200
committerGravatar Nikias Bassen2020-04-13 12:55:49 +0200
commitcf5a60d75c2108261a6e848b352f798c1422349c (patch)
tree4c4f65d32cdeff43a3909be91619d8be4e741d8c
parent3f64bbdc857512944b5bc7bb36f4d59191c25d14 (diff)
downloadlibimobiledevice-cf5a60d75c2108261a6e848b352f798c1422349c.tar.gz
libimobiledevice-cf5a60d75c2108261a6e848b352f798c1422349c.tar.bz2
afc: Remove unused client struct members from afc.c too
-rw-r--r--src/afc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/afc.c b/src/afc.c
index d83b50d..9ef800b 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -88,8 +88,6 @@ LIBIMOBILEDEVICE_API afc_error_t afc_client_new_with_service_client(service_clie
client_loc->afc_packet->entire_length = 0;
client_loc->afc_packet->this_length = 0;
memcpy(client_loc->afc_packet->magic, AFC_MAGIC, AFC_MAGIC_LEN);
- client_loc->file_handle = 0;
- client_loc->lock = 0;
mutex_init(&client_loc->mutex);
*client = client_loc;