From 1aeb4468afe6d964d6af5ecfc19e69900e302ea6 Mon Sep 17 00:00:00 2001 From: kotofos Date: Wed, 3 Dec 2014 11:51:58 +0600 Subject: [PATCH 1/2] putchar warning --- extras/fixture/src/unity_fixture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/fixture/src/unity_fixture.c b/extras/fixture/src/unity_fixture.c index 04a4c69..5c7400e 100644 --- a/extras/fixture/src/unity_fixture.c +++ b/extras/fixture/src/unity_fixture.c @@ -6,6 +6,7 @@ ========================================== */ #include +#include #include "unity_fixture.h" #include "unity_internals.h" From f6bb716220d6e54e639299acc3e22a159c02ae25 Mon Sep 17 00:00:00 2001 From: kotofos Date: Wed, 3 Dec 2014 11:53:16 +0600 Subject: [PATCH 2/2] default case warning --- src/unity.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unity.c b/src/unity.c index d9e0821..d75f857 100644 --- a/src/unity.c +++ b/src/unity.c @@ -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)