fix warning: threadpool-worker-default.c: In function 'worker_try_create': 'now'...
authorJay Krell <jaykrell@microsoft.com>
Mon, 9 Dec 2019 07:17:54 +0000 (23:17 -0800)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Dec 2019 07:17:54 +0000 (08:17 +0100)
https://jenkins.mono-project.com/job/build-source-tarball-mono-pullrequest/854/console

Commit migrated from https://github.com/mono/mono/commit/ed6b8024b0eb933d78ecc2e54bc8a798f868cf7e

src/mono/mono/metadata/threadpool-worker-default.c

index a7119f3..4a49736 100644 (file)
@@ -533,7 +533,7 @@ worker_try_create (void)
        ERROR_DECL (error);
        MonoInternalThread *thread;
        gint64 current_ticks;
-       gint32 now;
+       gint32 now = 0;
        ThreadPoolWorkerCounter counter;
 
        if (mono_runtime_is_shutting_down ())