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

events - Remove unused variable warning in ndebug builds #3112

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

geky
Copy link
Contributor

@geky geky commented Oct 21, 2016

Remove unused variable warning in ndebug builds.

The id variable in Event::call is only used to assert that the posting of the event succeeded. In non-debug builds, there is no assert, causing a warning on unused variable.

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

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

👍

@geky
Copy link
Contributor Author

geky commented Oct 21, 2016

/morph test

@theotherjimmy
Copy link
Contributor

👍 👍

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 929

All builds and test passed!

@geky geky removed the needs: CI label Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants