mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-18 12:51:44 +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 <string.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include "unity_fixture.h"
|
#include "unity_fixture.h"
|
||||||
#include "unity_internals.h"
|
#include "unity_internals.h"
|
||||||
|
|
||||||
|
@ -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