Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
masync: suppres unused parameters in future.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lplewa committed Aug 16, 2022
1 parent 1c6ba8d commit 11fddd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/include/libminiasync/future.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ async_chain_impl(struct future_context *ctx, struct future_notifier *notifier)
static inline int
future_has_property_default(void *future, enum future_property property)
{
/* suppres unused parameters */
(void) (future);
(void) (property);
/* by default every property is set to false */
return 0;
}
Expand Down

0 comments on commit 11fddd4

Please sign in to comment.