object.c: In function 'mono_class_proxy_vtable':
../../mono/metadata/profiler-private.h:191:4: warning: 'pvt' may be used uninitialized in this function [-Wmaybe-uninitialized]
mono_profiler_raise_ ## name args; \
^~~~~~~~~~~~~~~~~~~~
object.c:2338:19: note: 'pvt' was declared here
MonoVTable *vt, *pvt;
^~~
Commit migrated from https://github.com/mono/mono/commit/
452209414ea9f9863758e63c4d0307572e45f755
{
MONO_REQ_GC_UNSAFE_MODE;
- MonoVTable *vt, *pvt;
+ MonoVTable *vt, *pvt = NULL;
int i, j, vtsize, extra_interface_vtsize = 0;
guint32 max_interface_id;
MonoClass *k;