Suppress discards qualifiers warning with ASN
This commit is contained in:
parent
330b2ffb51
commit
a2ae7450d7
3
gc.c
3
gc.c
@ -2349,7 +2349,8 @@ rb_gc_mark_machine_context(const rb_execution_context_t *ec)
|
|||||||
|
|
||||||
void *data =
|
void *data =
|
||||||
#ifdef RUBY_ASAN_ENABLED
|
#ifdef RUBY_ASAN_ENABLED
|
||||||
ec;
|
/* gc_mark_machine_stack_location_maybe() uses data as const */
|
||||||
|
(rb_execution_context_t *)ec;
|
||||||
#else
|
#else
|
||||||
NULL;
|
NULL;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user