summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-12-29 12:06:30 +0100
committerGravatar Matt Colyer2009-01-02 09:55:08 -0800
commit0efa3bc3a3519695f288211d720620cc0672f054 (patch)
tree47cfdb52efaf572fd44f48ae6ab1524fcf26c192
parentb22ea90796608bc4e44317275ee05944b0f45877 (diff)
downloadlibimobiledevice-0efa3bc3a3519695f288211d720620cc0672f054.tar.gz
libimobiledevice-0efa3bc3a3519695f288211d720620cc0672f054.tar.bz2
Removed unused variables
-rw-r--r--src/iphone.c2
-rw-r--r--src/userpref.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/iphone.c b/src/iphone.c
index b7f6cc4..86226e7 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -146,7 +146,7 @@ iphone_error_t iphone_get_specific_device(int bus_n, int dev_n, iphone_device_t
*/
iphone_error_t iphone_get_device(iphone_device_t * device)
{
- struct usb_bus *bus, *busses;
+ struct usb_bus *bus;
struct usb_device *dev;
usb_init();
diff --git a/src/userpref.c b/src/userpref.c
index db54679..6e2f9d8 100644
--- a/src/userpref.c
+++ b/src/userpref.c
@@ -92,9 +92,6 @@ int is_device_known(char *uid)
{
int ret = 0;
gchar *config_file;
- GKeyFile *key_file;
- gchar **devices_list, **pcur, *keyfilepath, *stored_key;
- GIOChannel *keyfile;
/* first get config file */
gchar *device_file = g_strconcat(uid, ".pem", NULL);