diff options
| author | 2014-05-05 11:46:11 +0200 | |
|---|---|---|
| committer | 2014-05-05 11:46:11 +0200 | |
| commit | 1be575f828c4affeae8f2e638e2c1044b79d8ee5 (patch) | |
| tree | 846916e868e3af70ff07ba10317b9fa9b8d6a506 | |
| parent | 7b3aa777cbc65a2c2db5c31acbfa0582952b6dd9 (diff) | |
| download | libimobiledevice-1be575f828c4affeae8f2e638e2c1044b79d8ee5.tar.gz libimobiledevice-1be575f828c4affeae8f2e638e2c1044b79d8ee5.tar.bz2 | |
lockdown: cleanup: remove pointless goto
Minor cleanup. Drop useless code. We're already at "leave",
so there's no need to (conditionally!) goto it.
| -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 b96ddc6..6465281 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -751,10 +751,6 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t | |||
| 751 | host_id = generate_uuid(); | 751 | host_id = generate_uuid(); |
| 752 | pair_record_set_host_id(*pair_record, host_id); | 752 | pair_record_set_host_id(*pair_record, host_id); |
| 753 | 753 | ||
| 754 | if (ret != LOCKDOWN_E_SUCCESS) { | ||
| 755 | goto leave; | ||
| 756 | } | ||
| 757 | |||
| 758 | leave: | 754 | leave: |
| 759 | if (host_id) | 755 | if (host_id) |
| 760 | free(host_id); | 756 | free(host_id); |
