From 91cbfd4c1bb1ce30fd88a13b805695f5337f982f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 25 Sep 2021 13:15:31 -0700 Subject: [PATCH] p_rarrow: 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 64240d917..d7bed7a99 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -172,7 +172,7 @@ static polygon_t p_signature = { .peripheries = 1, .sides = 4, .option = SIGNATURE}; static polygon_t p_rpromoter = { .peripheries = 1, .sides = 4, .option = RPROMOTER}; -static polygon_t p_rarrow = { FALSE, 1, 4, 0., 0., 0., RARROW}; +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_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER}; -- 2.40.0