mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-05-21 17:36:21 +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 <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
struct _Unity Unity =
|
//rely on how C will fill the rest of the structure with 0's
|
||||||
{
|
struct _Unity Unity = { 0 };
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
1e-4f,
|
|
||||||
{0},
|
|
||||||
};
|
|
||||||
|
|
||||||
void UnityPrintChar(const char ch)
|
void UnityPrintChar(const char ch)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user