From: Matthew Fernandez Date: Sun, 19 Sep 2021 18:08:16 +0000 (-0700) Subject: p_fivepoverhang: squash a -Wmissing-field-initializer warning X-Git-Tag: 2.49.2~43^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13872fcfd5b284d3899fd23bcd8b79c7f59dc108;p=graphviz p_fivepoverhang: squash a -Wmissing-field-initializer warning --- 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};