In file included from sgen-new-bridge.c:31:0:
authorJay Krell <jaykrell@microsoft.com>
Thu, 13 Jun 2019 08:43:47 +0000 (01:43 -0700)
committerLarry Ewing <lewing@microsoft.com>
Tue, 18 Jun 2019 02:53:08 +0000 (21:53 -0500)
sgen-dynarray.h:331:1: warning: 'dyn_array_ptr_set_all' defined but not used [-Wunused-function]
 dyn_array_ptr_set_all (DynPtrArray *dst, DynPtrArray *src)
 ^~~~~~~~~~~~~~~~~~~~~

Commit migrated from https://github.com/mono/mono/commit/0b5b42f6c7fbf13dcd30681271f11db252f5a651

src/mono/mono/metadata/sgen-dynarray.h

index f4fc000..b96510c 100644 (file)
@@ -327,7 +327,7 @@ dyn_array_ptr_ensure_capacity (DynPtrArray *da, int capacity)
        }
 }
 
-static void
+static inline void
 dyn_array_ptr_set_all (DynPtrArray *dst, DynPtrArray *src)
 {
        const int copysize = src->array.size;