From f2dbd1e2071b9be57bb4680849e2d5dc38d98417 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 19 Sep 2021 11:05:15 -0700 Subject: [PATCH] p_proteasesite: 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 52eced5e8..995bf19c1 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -151,7 +151,8 @@ static polygon_t p_insulator = { static polygon_t p_ribosite = { .peripheries = 1, .sides = 4, .option = RIBOSITE}; static polygon_t p_rnastab = {.peripheries = 1, .sides = 4, .option = RNASTAB}; -static polygon_t p_proteasesite = { FALSE, 1, 4, 0., 0., 0., PROTEASESITE}; +static polygon_t p_proteasesite = { + .peripheries = 1, .sides = 4, .option = PROTEASESITE}; static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB}; /** dna construction symbols **/ static polygon_t p_primersite = { FALSE, 1, 4, 0., 0., 0., PRIMERSITE}; -- 2.40.0