]> granicus.if.org Git - graphviz/commitdiff
p_box3d: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Sep 2021 15:54:46 +0000 (08:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Sep 2021 19:34:52 +0000 (12:34 -0700)
lib/common/shapes.c

index 1675daeb2e9f3009854e43c29c496c31958bdfad..c9bf83c2b96c69e1309f282b1a69593cca09bb59 100644 (file)
@@ -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 };