From 13872fcfd5b284d3899fd23bcd8b79c7f59dc108 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 19 Sep 2021 11:08:16 -0700 Subject: [PATCH] p_fivepoverhang: squash a -Wmissing-field-initializer warning --- lib/common/shapes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index f1778f8ad..0de6a28cb 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -160,7 +160,8 @@ static polygon_t p_primersite = { .peripheries = 1, .sides = 4, .option = PRIMERSITE}; static polygon_t p_restrictionsite = { .peripheries = 1, .sides = 4, .option = RESTRICTIONSITE}; -static polygon_t p_fivepoverhang = { FALSE, 1, 4, 0., 0., 0., FIVEPOVERHANG}; +static polygon_t p_fivepoverhang = { + .peripheries = 1, .sides = 4, .option = FIVEPOVERHANG}; static polygon_t p_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG}; static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG}; static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY}; -- 2.40.0