solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit 02c298e2bf73fb62b806e0424f37573f5210141d
parent 4054e678f54f7b7d41629261fafb6b2b19d72923
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon,  9 Jan 2017 18:10:28 +0100

Fix coding style & C typos leading to GCC warnings

Diffstat:
Msrc/parser/solparser_pivot.h | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/parser/solparser_pivot.h b/src/parser/solparser_pivot.h @@ -78,9 +78,11 @@ struct solparser_pivot { } target; }; -#define SOLPARSER_PIVOT_NULL__ { {0,0,0}, {0,0,0}, SOLPARSER_TARGET_TYPES_COUNT__, {0,0,0} }; - -static const struct solparser_pivot SOLPARSER_PIVOT_NULL = SOLPARSER_PIVOT_NULL__; +#define SOLPARSER_PIVOT_NULL__ { \ + {0,0,0}, {0,0,0}, SOLPARSER_TARGET_TYPES_COUNT__, {{0,0,0}} \ +} +static const struct solparser_pivot SOLPARSER_PIVOT_NULL = + SOLPARSER_PIVOT_NULL__; struct solparser_pivot_id { size_t i; };