summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index cd87632..ee633b6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -580,7 +580,7 @@ static void *usbmuxd_bulk_reader_thread(void *arg)
static void *usbmuxd_client_init_thread(void *arg)
{
struct client_data *cdata;
- struct usbmuxd_scan_request *s_req = NULL;
+ struct usbmuxd_scan_request *s_req;
struct usbmuxd_device_info_record dev_info_rec;
struct usbmuxd_connect_request *c_req = NULL;
@@ -941,7 +941,7 @@ static void *usbmuxd_client_init_thread(void *arg)
cur_dev = NULL;
if (device_count > 1) {
struct device_info **newlist;
- int j;
+ int j = 0;
newlist =
(struct device_info **)