marshal.c:2662:8: warning: 'sig_cache' may be used uninitialized in this function [-Wmaybe-uninitialized]
res = (MonoMethod *)g_hash_table_lookup (sig_cache, sig_key);
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Commit migrated from https://github.com/mono/mono/commit/
faadb64774f9db09b2e026c43e3682b9268d9a25
{
MonoMethodSignature *sig, *csig, *callsig;
MonoMethodBuilder *mb;
- GHashTable *method_cache = NULL, *sig_cache;
+ GHashTable *method_cache = NULL, *sig_cache = NULL;
GHashTable **cache_table = NULL;
MonoClass *target_klass;
MonoMethod *res = NULL;