From 569d551a44e184764609e680673d027faa2d26dd Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 3 Sep 2021 20:07:56 -0700 Subject: [PATCH] p_house: 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 eb402cea7..86b98b6b9 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -94,7 +94,7 @@ static polygon_t p_plain = {.sides = 4}; static polygon_t p_diamond = {.peripheries = 1, .sides = 4, .orientation = 45.0}; static polygon_t p_trapezium = {.peripheries = 1, .sides = 4, .distortion = -0.4}; static polygon_t p_parallelogram = {.peripheries = 1, .sides = 4, .skew = 0.6}; -static polygon_t p_house = { FALSE, 1, 5, 0., -.64, 0. }; +static polygon_t p_house = {.peripheries = 1, .sides = 5, .distortion = -0.64}; static polygon_t p_pentagon = { FALSE, 1, 5, 0., 0., 0. }; static polygon_t p_hexagon = { FALSE, 1, 6, 0., 0., 0. }; static polygon_t p_septagon = { FALSE, 1, 7, 0., 0., 0. }; -- 2.40.0