mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-17 11:44:09 +08:00
default case warning
This commit is contained in:
@ -677,6 +677,8 @@ void UnityAssertFloatSpecial(const _UF actual,
|
||||
else
|
||||
is_trait = 1;
|
||||
break;
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
if (is_trait != should_be_trait)
|
||||
@ -837,6 +839,8 @@ void UnityAssertDoubleSpecial(const _UD actual,
|
||||
else
|
||||
is_trait = 1;
|
||||
break;
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
if (is_trait != should_be_trait)
|
||||
|
Reference in New Issue
Block a user