From: Matthew Fernandez Date: Sat, 25 Sep 2021 20:14:05 +0000 (-0700) Subject: p_promoter: squash -Wmissing-field-initializer warning X-Git-Tag: 2.49.2~35^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbe3e086bdf79bd5b652985263a8e12f290c4218;p=graphviz p_promoter: squash -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 262b20a1a..64240d917 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -170,7 +170,8 @@ static polygon_t p_assembly = { .peripheries = 1, .sides = 4, .option = ASSEMBLY}; static polygon_t p_signature = { .peripheries = 1, .sides = 4, .option = SIGNATURE}; -static polygon_t p_rpromoter = { FALSE, 1, 4, 0., 0., 0., RPROMOTER}; +static polygon_t p_rpromoter = { + .peripheries = 1, .sides = 4, .option = RPROMOTER}; static polygon_t p_rarrow = { FALSE, 1, 4, 0., 0., 0., RARROW}; static polygon_t p_larrow = { FALSE, 1, 4, 0., 0., 0., LARROW}; static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER};