mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-17 11:44:09 +08:00
Merge pull request #89 from kotofos/warningFixes
Warning fixes (thanks kotofos!)
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
========================================== */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "unity_fixture.h"
|
||||
#include "unity_internals.h"
|
||||
|
||||
|
@ -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