diff options
author | Martin Szulecki | 2013-11-04 23:32:58 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-04 23:32:58 +0100 |
commit | 7777aeb11aa33cadd694c7b9131bbac94d789a1a (patch) | |
tree | 9099208afa75f9b8e34265d264c75bba127dc901 /src | |
parent | 49f549c9dccdb54a4f27931f8069baa73d1d1bf8 (diff) | |
download | libimobiledevice-7777aeb11aa33cadd694c7b9131bbac94d789a1a.tar.gz libimobiledevice-7777aeb11aa33cadd694c7b9131bbac94d789a1a.tar.bz2 |
installation_proxy: Remove dead code from uninstall method
Diffstat (limited to 'src')
-rw-r--r-- | src/installation_proxy.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/installation_proxy.c b/src/installation_proxy.c index cffadd9..9aa896b 100644 --- a/src/installation_proxy.c +++ b/src/installation_proxy.c @@ -548,16 +548,11 @@ instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char *app } instproxy_error_t res = INSTPROXY_E_UNKNOWN_ERROR; - plist_t dict = plist_new_dict(); - plist_dict_insert_item(dict, "ApplicationIdentifier", plist_new_string(appid)); - plist_dict_insert_item(dict, "Command", plist_new_string("Uninstall")); instproxy_lock(client); res = instproxy_send_command(client, "Uninstall", client_options, appid, NULL); instproxy_unlock(client); - plist_free(dict); - if (res != INSTPROXY_E_SUCCESS) { debug_info("could not send plist, error %d", res); return res; |