Skip to content

Commit

Permalink
remove unused args
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Sep 3, 2024
1 parent 4afaea6 commit a7f6904
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,10 +488,10 @@ size_t aws_event_loop_get_load_factor(struct aws_event_loop *event_loop) {

// DEBUG: TODO: WORKAROUND THE CALLER THREAD VALIDATION ON DISPATCH QUEUE.
#ifndef AWS_USE_DISPATCH_QUEUE
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop, ...)
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop)
AWS_ASSERT(!aws_event_loop_thread_is_callers_thread(eventloop));
#else
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop, ...)
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop)
#endif

void aws_event_loop_destroy(struct aws_event_loop *event_loop) {
Expand Down Expand Up @@ -640,4 +640,4 @@ bool aws_event_loop_thread_is_callers_thread(struct aws_event_loop *event_loop)
int aws_event_loop_current_clock_time(struct aws_event_loop *event_loop, uint64_t *time_nanos) {
AWS_ASSERT(event_loop->clock);
return event_loop->clock(time_nanos);
}
}

0 comments on commit a7f6904

Please sign in to comment.