mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-24 00:45:58 +01: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