summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);