From 741e7e7cbddb059057b82fb5f163f44f82a8e85c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 19 Sep 2021 11:07:03 -0700 Subject: [PATCH] p_primersite: 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 705bcaa0e..cf4998c39 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -156,7 +156,8 @@ static polygon_t p_proteasesite = { static polygon_t p_proteinstab = { .peripheries = 1, .sides = 4, .option = PROTEINSTAB}; /** dna construction symbols **/ -static polygon_t p_primersite = { FALSE, 1, 4, 0., 0., 0., PRIMERSITE}; +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_fivepoverhang = { FALSE, 1, 4, 0., 0., 0., FIVEPOVERHANG}; static polygon_t p_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG}; -- 2.50.1