diff options
| -rw-r--r-- | src/iphone.c | 2 | ||||
| -rw-r--r-- | src/userpref.c | 3 |
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 | |||
| 146 | */ | 146 | */ |
| 147 | iphone_error_t iphone_get_device(iphone_device_t * device) | 147 | iphone_error_t iphone_get_device(iphone_device_t * device) |
| 148 | { | 148 | { |
| 149 | struct usb_bus *bus, *busses; | 149 | struct usb_bus *bus; |
| 150 | struct usb_device *dev; | 150 | struct usb_device *dev; |
| 151 | 151 | ||
| 152 | usb_init(); | 152 | 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) | |||
| 92 | { | 92 | { |
| 93 | int ret = 0; | 93 | int ret = 0; |
| 94 | gchar *config_file; | 94 | gchar *config_file; |
| 95 | GKeyFile *key_file; | ||
| 96 | gchar **devices_list, **pcur, *keyfilepath, *stored_key; | ||
| 97 | GIOChannel *keyfile; | ||
| 98 | 95 | ||
| 99 | /* first get config file */ | 96 | /* first get config file */ |
| 100 | gchar *device_file = g_strconcat(uid, ".pem", NULL); | 97 | gchar *device_file = g_strconcat(uid, ".pem", NULL); |
