From 110e4a56ce6214ff981d2c5c4a53a8675dec8c09 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 19 Sep 2021 11:07:42 -0700 Subject: [PATCH] p_restrictionsite: 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 cf4998c39..f1778f8ad 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -158,7 +158,8 @@ static polygon_t p_proteinstab = { /** dna construction symbols **/ static polygon_t p_primersite = { .peripheries = 1, .sides = 4, .option = PRIMERSITE}; -static polygon_t p_restrictionsite = { FALSE, 1, 4, 0., 0., 0., RESTRICTIONSITE}; +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_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG}; static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG}; -- 2.40.0