瀏覽代碼

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 14 年之前
父節點
當前提交
2810f88532
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      btpd/addrinfo.c

+ 1
- 0
btpd/addrinfo.c 查看文件

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

static void


Loading…
取消
儲存