diff options
| author | 2008-12-29 12:06:30 +0100 | |
|---|---|---|
| committer | 2009-01-02 09:55:08 -0800 | |
| commit | 0efa3bc3a3519695f288211d720620cc0672f054 (patch) | |
| tree | 47cfdb52efaf572fd44f48ae6ab1524fcf26c192 | |
| parent | b22ea90796608bc4e44317275ee05944b0f45877 (diff) | |
| download | libimobiledevice-0efa3bc3a3519695f288211d720620cc0672f054.tar.gz libimobiledevice-0efa3bc3a3519695f288211d720620cc0672f054.tar.bz2 | |
Removed unused variables
| -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); |
