diff options
| author | 2013-09-13 03:07:53 +0200 | |
|---|---|---|
| committer | 2013-09-17 11:43:34 +0200 | |
| commit | 193d032a040935664e7428d366345a6f6644a29a (patch) | |
| tree | a62b1ffeec2dfb813776cf56b443e10369479675 | |
| parent | bf150114c64bb0ed6e97edffe0709eea8b2195c2 (diff) | |
| download | libimobiledevice-193d032a040935664e7428d366345a6f6644a29a.tar.gz libimobiledevice-193d032a040935664e7428d366345a6f6644a29a.tar.bz2 | |
lockdownd: remove unused udid variable in reconnect function
| -rw-r--r-- | src/lockdown.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 3e9164c..26af6a6 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -705,7 +705,6 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_ | |||
| 705 | { | 705 | { |
| 706 | lockdownd_error_t ret = LOCKDOWN_E_SUCCESS; | 706 | lockdownd_error_t ret = LOCKDOWN_E_SUCCESS; |
| 707 | int attempts = 3; | 707 | int attempts = 3; |
| 708 | char *udid = NULL; | ||
| 709 | 708 | ||
| 710 | /* free resources of lockownd_client */ | 709 | /* free resources of lockownd_client */ |
| 711 | ret = lockdownd_client_free_simple(*client); | 710 | ret = lockdownd_client_free_simple(*client); |
| @@ -722,9 +721,6 @@ static lockdownd_error_t lockdownd_client_reconnect(idevice_t device, lockdownd_ | |||
| 722 | sleep(1); | 721 | sleep(1); |
| 723 | } while(attempts--); | 722 | } while(attempts--); |
| 724 | 723 | ||
| 725 | free(udid); | ||
| 726 | udid = NULL; | ||
| 727 | |||
| 728 | return ret; | 724 | return ret; |
| 729 | } | 725 | } |
| 730 | 726 | ||
