Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More compiler warning fixes #273

Merged
merged 9 commits into from
Dec 25, 2020
Next Next commit
fix small compile issue with coroutine.c and gcc
  • Loading branch information
StarWitch committed Dec 23, 2020
commit f9e12b6ca4d5feeb644f72e32e0dbdf0cd681e67
4 changes: 2 additions & 2 deletions src/coroutine.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ static struct {

#else // CO_TASK_STATS

#define STAT_VAL(name) (0)
#define STAT_VAL_SET(name, value) (0)
#define STAT_VAL(name) ((void)0)
#define STAT_VAL_SET(name, value) ((void)0)

#endif // CO_TASK_STATS

Expand Down