[threads] Fix warning on Linux
authorLudovic Henry <ludovic@xamarin.com>
Thu, 29 Oct 2015 16:36:47 +0000 (16:36 +0000)
committerLudovic Henry <ludovic@xamarin.com>
Thu, 29 Oct 2015 16:37:49 +0000 (16:37 +0000)
mono/utils/mono-threads-coop.h

index ab46e08b224bd38506091d5530c1098d76cf0b6c..fa928672400754d15963d1f61fcfbcd588e159d5 100644 (file)
@@ -18,7 +18,7 @@ extern volatile size_t mono_polling_required;
 
 /* Runtime consumable API */
 
-static gboolean
+static gboolean G_GNUC_UNUSED
 mono_threads_is_coop_enabled (void)
 {
 #if defined(USE_COOP_GC)