Pārlūkot izejas kodu

Fix warning on no return value from non-void function.

There was a warning at the end of addrinfo_td because it returns
a "void *" but had no return statement.  The fix was call pthread_exit().
master
Marq Schneider pirms 14 gadiem
vecāks
revīzija
2810f88532
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      btpd/addrinfo.c

+ 1
- 0
btpd/addrinfo.c Parādīt failu

@@ -76,6 +76,7 @@ addrinfo_td(void *arg)
td_post(addrinfo_td_cb, ctx);
td_post_end();
}
pthread_exit(NULL);
}

static void


Notiek ielāde…
Atcelt
Saglabāt