From: Matthew Fernandez Date: Tue, 31 Aug 2021 04:00:58 +0000 (-0700) Subject: p_plain: squash -Wmissing-field-initializer warning X-Git-Tag: 2.49.1~47^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14f12c833a885f123145ac232b78518f96231f6a;p=graphviz p_plain: squash -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index d7504f2d2..5418b4531 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -90,7 +90,7 @@ static polygon_t p_triangle = {.peripheries = 1, .sides = 3}; static polygon_t p_box = {.peripheries = 1, .sides = 4}; static polygon_t p_square = {.regular = TRUE, .peripheries = 1, .sides = 4}; static polygon_t p_plaintext = {.sides = 4}; -static polygon_t p_plain = { FALSE, 0, 4, 0., 0., 0. }; +static polygon_t p_plain = {.sides = 4}; static polygon_t p_diamond = { FALSE, 1, 4, 45., 0., 0. }; static polygon_t p_trapezium = { FALSE, 1, 4, 0., -.4, 0. }; static polygon_t p_parallelogram = { FALSE, 1, 4, 0., 0., .6 };