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

index 6dc6de06239864c9eec6f88c0c8b282b2ca0b628..50d9dc3f05156d73075293baf41304d749b9006f 100644 (file)
@@ -105,7 +105,8 @@ static polygon_t p_folder = {.peripheries = 1, .sides = 4, .option = FOLDER};
 static polygon_t p_box3d = {.peripheries = 1, .sides = 4, .option = BOX3D};
 static polygon_t p_component = {
     .peripheries = 1, .sides = 4, .option = COMPONENT};
-static polygon_t p_underline = { FALSE, 1, 4, 0., 0., 0., UNDERLINE };
+static polygon_t p_underline = {
+    .peripheries = 1, .sides = 4, .option = UNDERLINE};
 static polygon_t p_cylinder = { FALSE, 1, 19, 0., 0., 0., CYLINDER, (pointf*)&cylinder_gen };
 
 /* redundant and undocumented builtin polygons */