From 6ab497789a2d09b38ba1a9a4beb0fe9dd203de6a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 25 Sep 2021 13:16:16 -0700 Subject: [PATCH] p_larrow: squash -Wmissing-field-initializer warning --- lib/common/shapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0