From d337ac00d77decc34f3ce55a42f971280d28e761 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 3 Sep 2021 20:09:40 -0700 Subject: [PATCH] p_septagon: 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 9bf1a4b78..73b99f7ae 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -97,7 +97,7 @@ static polygon_t p_parallelogram = {.peripheries = 1, .sides = 4, .skew = 0.6}; static polygon_t p_house = {.peripheries = 1, .sides = 5, .distortion = -0.64}; static polygon_t p_pentagon = {.peripheries = 1, .sides = 5}; static polygon_t p_hexagon = {.peripheries = 1, .sides = 6}; -static polygon_t p_septagon = { FALSE, 1, 7, 0., 0., 0. }; +static polygon_t p_septagon = {.peripheries = 1, .sides = 7}; static polygon_t p_octagon = { FALSE, 1, 8, 0., 0., 0. }; static polygon_t p_note = { FALSE, 1, 4, 0., 0., 0., DOGEAR }; static polygon_t p_tab = { FALSE, 1, 4, 0., 0., 0., TAB }; -- 2.40.0