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

index a5fc6a758a2309fccaa6a35a8dedf07aff16ca66..5568f6e1b5a5bb9117d42788fe915f4ec8e682d5 100644 (file)
@@ -121,7 +121,7 @@ static polygon_t p_invtrapezium = {
     .peripheries = 1, .sides = 4, .orientation = 180.0, .distortion = -0.4};
 static polygon_t p_invhouse = {
     .peripheries = 1, .sides = 5, .orientation = 180.0, .distortion = -0.64};
-static polygon_t p_doubleoctagon = { FALSE, 2, 8, 0., 0., 0. };
+static polygon_t p_doubleoctagon = {.peripheries = 2, .sides = 8};
 static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. };
 static polygon_t p_Mdiamond =
     { FALSE, 1, 4, 45., 0., 0., DIAGONALS | AUXLABELS };