Skip to content

Commit

Permalink
Non-void functions must return value
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 23, 2022
1 parent 2361a1a commit c25c1d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thread_win32.c
Expand Up @@ -33,12 +33,14 @@ rb_internal_thread_event_hook_t *
rb_internal_thread_add_event_hook(rb_internal_thread_event_callback callback, rb_event_flag_t internal_event, void *user_data)
{
// not implemented
return NULL;
}

bool
rb_internal_thread_remove_event_hook(rb_internal_thread_event_hook_t * hook)
{
// not implemented
return false;
}

RBIMPL_ATTR_NORETURN()
Expand Down

0 comments on commit c25c1d4

Please sign in to comment.