From: Matthew Fernandez Date: Sat, 11 Sep 2021 16:03:03 +0000 (-0700) Subject: p_invhouse: squash a -Wmissing-field-initializer warning X-Git-Tag: 2.49.1~16^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bcd5aaa32d5d3526b9f448a0fc431436dc09d49;p=graphviz p_invhouse: squash a -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index cce21ccf4..a5fc6a758 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -119,7 +119,8 @@ static polygon_t p_invtriangle = { .peripheries = 1, .sides = 3, .orientation = 180.0}; static polygon_t p_invtrapezium = { .peripheries = 1, .sides = 4, .orientation = 180.0, .distortion = -0.4}; -static polygon_t p_invhouse = { FALSE, 1, 5, 180., -.64, 0. }; +static polygon_t p_invhouse = { + .peripheries = 1, .sides = 5, .orientation = 180.0, .distortion = -0.64}; static polygon_t p_doubleoctagon = { FALSE, 2, 8, 0., 0., 0. }; static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. }; static polygon_t p_Mdiamond =