From: Matthew Fernandez Date: Sat, 11 Sep 2021 15:54:46 +0000 (-0700) Subject: p_box3d: squash a -Wmissing-field-initializer warning X-Git-Tag: 2.49.1~16^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6194b2e24e80d3906f115da7951ee387a6b5a97;p=graphviz p_box3d: squash a -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 1675daeb2..c9bf83c2b 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -102,7 +102,7 @@ static polygon_t p_octagon = {.peripheries = 1, .sides = 8}; static polygon_t p_note = {.peripheries = 1, .sides = 4, .option = DOGEAR}; static polygon_t p_tab = {.peripheries = 1, .sides = 4, .option = TAB}; static polygon_t p_folder = {.peripheries = 1, .sides = 4, .option = FOLDER}; -static polygon_t p_box3d = { FALSE, 1, 4, 0., 0., 0., BOX3D }; +static polygon_t p_box3d = {.peripheries = 1, .sides = 4, .option = BOX3D}; static polygon_t p_component = { FALSE, 1, 4, 0., 0., 0., COMPONENT }; static polygon_t p_underline = { FALSE, 1, 4, 0., 0., 0., UNDERLINE }; static polygon_t p_cylinder = { FALSE, 1, 19, 0., 0., 0., CYLINDER, (pointf*)&cylinder_gen };