From ff1339ca5ab96512d1c068693b3caab7604eaee4 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Sun, 22 Sep 2013 10:58:36 -0400 Subject: [PATCH] - Fixed a gcc warning when -Wall enabled. (Thanks gjcamann) --- src/unity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity.c b/src/unity.c index ad71046..6cd77e1 100644 --- a/src/unity.c +++ b/src/unity.c @@ -14,7 +14,7 @@ #define UNITY_SKIP_EXECUTION { if ((Unity.CurrentTestFailed != 0) || (Unity.CurrentTestIgnored != 0)) {return;} } #define UNITY_PRINT_EOL { UNITY_OUTPUT_CHAR('\n'); } -struct _Unity Unity = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , { 0 } }; +struct _Unity Unity = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , {{{ 0 }}} }; const char* UnityStrNull = "NULL"; const char* UnityStrSpacer = ". "; -- GitLab