From 069fdd89ffb55910c3b23da24b3a4a297e2de68a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 18 Sep 2021 15:37:29 -0700 Subject: [PATCH] p_tripleoctagon: squash a -Wmissing-field-initializer warning --- lib/common/shapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 5568f6e1b..0a004467b 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -122,7 +122,7 @@ static polygon_t p_invtrapezium = { static polygon_t p_invhouse = { .peripheries = 1, .sides = 5, .orientation = 180.0, .distortion = -0.64}; static polygon_t p_doubleoctagon = {.peripheries = 2, .sides = 8}; -static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. }; +static polygon_t p_tripleoctagon = {.peripheries = 3, .sides = 8}; static polygon_t p_Mdiamond = { FALSE, 1, 4, 45., 0., 0., DIAGONALS | AUXLABELS }; static polygon_t p_Msquare = { TRUE, 1, 4, 0., 0., 0., DIAGONALS }; -- 2.40.0