From: Matthew Fernandez Date: Sat, 25 Sep 2021 20:16:16 +0000 (-0700) Subject: p_larrow: squash -Wmissing-field-initializer warning X-Git-Tag: 2.49.2~35^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ab497789a2d09b38ba1a9a4beb0fe9dd203de6a;p=graphviz p_larrow: squash -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index d7bed7a99..43f6dffd2 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -173,7 +173,7 @@ static polygon_t p_signature = { static polygon_t p_rpromoter = { .peripheries = 1, .sides = 4, .option = RPROMOTER}; static polygon_t p_rarrow = {.peripheries = 1, .sides = 4, .option = RARROW}; -static polygon_t p_larrow = { FALSE, 1, 4, 0., 0., 0., LARROW}; +static polygon_t p_larrow = {.peripheries = 1, .sides = 4, .option = LARROW}; static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER}; #define IS_BOX(n) (ND_shape(n)->polygon == &p_box)