From: Matthew Fernandez Date: Sat, 25 Sep 2021 20:17:03 +0000 (-0700) Subject: p_lpromoter: squash -Wmissing-field-initializer warning X-Git-Tag: 2.49.2~35^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6f6ed83f439dc17d9bc0b6b4c2c46069c8d9647;p=graphviz p_lpromoter: squash -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 43f6dffd2..18193a6c9 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -174,7 +174,8 @@ 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 = {.peripheries = 1, .sides = 4, .option = LARROW}; -static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER}; +static polygon_t p_lpromoter = { + .peripheries = 1, .sides = 4, .option = LPROMOTER}; #define IS_BOX(n) (ND_shape(n)->polygon == &p_box) #define IS_PLAIN(n) (ND_shape(n)->polygon == &p_plain)