From a8a729807dd461d5788115b673affe8d34087f4c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 11 Sep 2021 09:04:04 -0700 Subject: [PATCH] p_doubleoctagon: 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 a5fc6a758..5568f6e1b 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -121,7 +121,7 @@ static polygon_t p_invtrapezium = { .peripheries = 1, .sides = 4, .orientation = 180.0, .distortion = -0.4}; 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_doubleoctagon = {.peripheries = 2, .sides = 8}; static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. }; static polygon_t p_Mdiamond = { FALSE, 1, 4, 45., 0., 0., DIAGONALS | AUXLABELS }; -- 2.40.0