In file included from sre.c:30:0:
authorJay Krell <jaykrell@microsoft.com>
Thu, 13 Jun 2019 08:34:58 +0000 (01:34 -0700)
committerLarry Ewing <lewing@microsoft.com>
Tue, 18 Jun 2019 02:53:08 +0000 (21:53 -0500)
../../mono/metadata/reflection-cache.h:43:1: warning: 'free_reflected_entry' defined but not used [-Wunused-function]
 free_reflected_entry (ReflectedEntry *entry)
 ^~~~~~~~~~~~~~~~~~~~

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

src/mono/mono/metadata/reflection-cache.h

index 78b4f48..6a79296 100644 (file)
@@ -39,7 +39,7 @@ alloc_reflected_entry (MonoDomain *domain)
                return (ReflectedEntry *)mono_mempool_alloc (domain->mp, sizeof (ReflectedEntry));
 }
 
-static void
+static inline void
 free_reflected_entry (ReflectedEntry *entry)
 {
        if (!mono_gc_is_moving ())