From 58df37364cc08d69f93a118c864249af11a10f0c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 18 Sep 2021 15:43:55 -0700 Subject: [PATCH] p_utr: squash a -Wmissing-field-initializer warning --- lib/common/shapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 7f738c8da..0573f1a26 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -145,7 +145,7 @@ static polygon_t p_promoter = { static polygon_t p_cds = {.peripheries = 1, .sides = 4, .option = CDS}; static polygon_t p_terminator = { .peripheries = 1, .sides = 4, .option = TERMINATOR}; -static polygon_t p_utr = { FALSE, 1, 4, 0., 0., 0., UTR}; +static polygon_t p_utr = {.peripheries = 1, .sides = 4, .option = UTR}; static polygon_t p_insulator = { FALSE, 1, 4, 0., 0., 0., INSULATOR}; static polygon_t p_ribosite = { FALSE, 1, 4, 0., 0., 0., RIBOSITE}; static polygon_t p_rnastab = { FALSE, 1, 4, 0., 0., 0., RNASTAB}; -- 2.40.0