From: Matthew Fernandez Date: Sat, 18 Sep 2021 22:41:01 +0000 (-0700) Subject: p_star: squash a -Wmissing-field-initializer warning X-Git-Tag: 2.49.1~7^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2e97876e33e4d7e0da60880c16d0292aca5183a;p=graphviz p_star: squash a -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 4686bb835..05cb23c9c 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -135,7 +135,8 @@ static polygon_t p_Mcircle = {.regular = TRUE, .option = DIAGONALS | AUXLABELS}; /* non-convex polygons */ -static polygon_t p_star = { FALSE, 1, 10, 0., 0., 0., 0, (pointf*)&star_gen }; +static polygon_t p_star = { + .peripheries = 1, .sides = 10, .vertices = (pointf *)&star_gen}; /* biological circuit shapes, as specified by SBOLv*/ /** gene expression symbols **/