mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
libuv.c: set m to 0 by default
MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting m to 0 by default will prevent "error: ‘m’ may be used uninitialized in this function" while compiling with the option -DLWS_WITH_LIBUV=ON.
This commit is contained in:
parent
a57d13cb1b
commit
e7df97c309
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ static int
|
|||
elops_destroy_context1_uv(struct lws_context *context)
|
||||
{
|
||||
struct lws_context_per_thread *pt;
|
||||
int n, m;
|
||||
int n, m = 0;
|
||||
|
||||
for (n = 0; n < context->count_threads; n++) {
|
||||
int budget = 10000;
|
||||
|
|
Loading…
Add table
Reference in a new issue