Skip to content
Snippets Groups Projects
Commit 1112d40d authored by Adam Duskett's avatar Adam Duskett Committed by Andy Green
Browse files

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.
parent 16efbf49
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment