mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-05-20 17:07:32 +08:00
- made a minor tweak to initialization of unity structure to avoid silly compiler warnings.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@37 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
14
src/unity.c
14
src/unity.c
@ -2,18 +2,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
struct _Unity Unity =
|
||||
{
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1e-4f,
|
||||
{0},
|
||||
};
|
||||
//rely on how C will fill the rest of the structure with 0's
|
||||
struct _Unity Unity = { 0 };
|
||||
|
||||
void UnityPrintChar(const char ch)
|
||||
{
|
||||
|
Reference in New Issue
Block a user