Skip to content

Remove semicolons at the end of macros after do {} while (0)#1605

Closed
JTJL wants to merge 2 commits into
facebook:masterfrom
JTJL:remove_semicolon
Closed

Remove semicolons at the end of macros after do {} while (0)#1605
JTJL wants to merge 2 commits into
facebook:masterfrom
JTJL:remove_semicolon

Conversation

@JTJL

@JTJL JTJL commented Jun 14, 2021

Copy link
Copy Markdown
Contributor

The semicolons at the end of macros after do {} while (0) is useless and may cause potential compile errors in the future.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@yfeldblum has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@yfeldblum yfeldblum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ; is required somewhere - check out the build failures.

@JTJL

JTJL commented Jun 15, 2021

Copy link
Copy Markdown
Contributor Author

potential build failure has already happened 🤕 .
Sorry for not checking the missing ;, now it should work. @yfeldblum

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@yfeldblum has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@yfeldblum merged this pull request in 16ac56e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants