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