Skip to content

Squash warnings about unhandled enumeration.#680

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
JamesB192:23g06-unhandled-enumeration
Aug 16, 2023
Merged

Squash warnings about unhandled enumeration.#680
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
JamesB192:23g06-unhandled-enumeration

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