mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
parent
fcc7429983
commit
1f2da5cdd5
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ __lws_sul_service_ripe(lws_dll2_owner_t *own, int own_len, lws_usec_t usnow)
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lws_sorted_usec_list_t *hit = NULL;
|
lws_sorted_usec_list_t *hit = NULL;
|
||||||
lws_usec_t lowest;
|
lws_usec_t lowest = 0;
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
|
||||||
for (n = 0; n < own_len; n++) {
|
for (n = 0; n < own_len; n++) {
|
||||||
|
@ -233,7 +233,7 @@ lws_sul_earliest_wakeable_event(struct lws_context *ctx, lws_usec_t *pearliest)
|
||||||
{
|
{
|
||||||
struct lws_context_per_thread *pt;
|
struct lws_context_per_thread *pt;
|
||||||
int n = 0, hit = -1;
|
int n = 0, hit = -1;
|
||||||
lws_usec_t lowest;
|
lws_usec_t lowest = 0;
|
||||||
|
|
||||||
for (n = 0; n < ctx->count_threads; n++) {
|
for (n = 0; n < ctx->count_threads; n++) {
|
||||||
pt = &ctx->pt[n];
|
pt = &ctx->pt[n];
|
||||||
|
|
Loading…
Add table
Reference in a new issue