From 3c33a65458fc05351c0ead75cf9c72b0c0519942 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Mon, 11 Apr 2011 12:07:00 +0200 Subject: [PATCH] Fix a warning. --- mono/utils/mono-threads.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mono/utils/mono-threads.c b/mono/utils/mono-threads.c index 6aafd7a2533..58d57c424f3 100644 --- a/mono/utils/mono-threads.c +++ b/mono/utils/mono-threads.c @@ -63,8 +63,10 @@ mono_thread_info_remove (MonoThreadInfo *info) { /*TLS is gone by now, so we can't rely on it to retrieve hp*/ MonoThreadHazardPointers *hp = mono_hazard_pointer_get_by_id (info->small_id); + gboolean res; + THREADS_DEBUG ("removing info %p\n", info); - gboolean res = mono_lls_remove (&thread_list, hp, (MonoLinkedListSetNode*)info); + res = mono_lls_remove (&thread_list, hp, (MonoLinkedListSetNode*)info); mono_hazard_pointer_clear_all (hp, -1); return res; } -- 2.25.1