From 9aef76a218f5200c6b4d3e6a816d06f8201e9742 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 18 Sep 2021 15:44:38 -0700 Subject: [PATCH] p_insulator: 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 0573f1a26..52c1fd6b6 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -146,7 +146,8 @@ 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 = {.peripheries = 1, .sides = 4, .option = UTR}; -static polygon_t p_insulator = { FALSE, 1, 4, 0., 0., 0., INSULATOR}; +static polygon_t p_insulator = { + .peripheries = 1, .sides = 4, .option = 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}; static polygon_t p_proteasesite = { FALSE, 1, 4, 0., 0., 0., PROTEASESITE}; -- 2.40.0