summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-04 23:32:58 +0100
committerGravatar Martin Szulecki2013-11-04 23:32:58 +0100
commit7777aeb11aa33cadd694c7b9131bbac94d789a1a (patch)
tree9099208afa75f9b8e34265d264c75bba127dc901 /src/installation_proxy.c
parent49f549c9dccdb54a4f27931f8069baa73d1d1bf8 (diff)
downloadlibimobiledevice-7777aeb11aa33cadd694c7b9131bbac94d789a1a.tar.gz
libimobiledevice-7777aeb11aa33cadd694c7b9131bbac94d789a1a.tar.bz2
installation_proxy: Remove dead code from uninstall method
Diffstat (limited to 'src/installation_proxy.c')
-rw-r--r--src/installation_proxy.c5
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;