projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b620f93
)
os-event-unix.c: In function 'mono_os_event_wait_multiple':
author
Jay Krell
<jaykrell@microsoft.com>
Thu, 13 Jun 2019 08:49:29 +0000
(
01:49
-0700)
committer
Larry Ewing
<lewing@microsoft.com>
Tue, 18 Jun 2019 02:53:08 +0000
(21:53 -0500)
os-event-unix.c:195:12: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
elapsed = mono_msec_ticks () - start;
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Commit migrated from https://github.com/mono/mono/commit/
bc5d1a48d802fff39383f54b601d9e5fdab6a1df
src/mono/mono/utils/os-event-unix.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/utils/os-event-unix.c
b/src/mono/mono/utils/os-event-unix.c
index
ef04c1e
..
8f4de86
100644
(file)
--- a/
src/mono/mono/utils/os-event-unix.c
+++ b/
src/mono/mono/utils/os-event-unix.c
@@
-118,7
+118,7
@@
mono_os_event_wait_multiple (MonoOSEvent **events, gsize nevents, gboolean waita
mono_cond_t signal_cond;
OSEventWaitData *data = NULL;
gboolean alerted;
- gint64 start;
+ gint64 start
= 0
;
gint i;
g_assert (mono_lazy_is_initialized (&status));