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

Squash warnings about unhandled enumeration. #680

Merged

Conversation

JamesB192
Copy link
Contributor

from downstream user ntpsec with --enable-warnings

[119/213][55%][|][=====================================================>                                           ][1.309s]../../tests/unity/unity.c: In function ‘UnityAssertFloatSpecial’:
../../tests/unity/unity.c:984:5: warning: enumeration value ‘UNITY_FLOAT_INVALID_TRAIT’ not handled in switch [-Wswitch-enum]
  984 |     switch (style)
      |     ^~~~~~
../../tests/unity/unity.c: In function ‘UnityAssertDoubleSpecial’:
../../tests/unity/unity.c:1124:5: warning: enumeration value ‘UNITY_FLOAT_INVALID_TRAIT’ not handled in switch [-Wswitch-enum]
 1124 |     switch (style)
      |     ^~~~~~

[213/213][100%][-][===============================================================================================>][1.778s]

@mvandervoord mvandervoord merged commit cb03c3a into ThrowTheSwitch:master Aug 16, 2023
@JamesB192 JamesB192 deleted the 23g06-unhandled-enumeration branch December 19, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants