]> granicus.if.org Git - graphviz/commitdiff
p_septagon: squash -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 03:09:40 +0000 (20:09 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 10 Sep 2021 14:49:59 +0000 (07:49 -0700)
lib/common/shapes.c

index 9bf1a4b7833c9d56b331212eb90668498953f13f..73b99f7ae8fe0200feaeede8c21db84ecb8ae0d3 100644 (file)
@@ -97,7 +97,7 @@ static polygon_t p_parallelogram = {.peripheries = 1, .sides = 4, .skew = 0.6};
 static polygon_t p_house = {.peripheries = 1, .sides = 5, .distortion = -0.64};
 static polygon_t p_pentagon = {.peripheries = 1, .sides = 5};
 static polygon_t p_hexagon = {.peripheries = 1, .sides = 6};
-static polygon_t p_septagon = { FALSE, 1, 7, 0., 0., 0. };
+static polygon_t p_septagon = {.peripheries = 1, .sides = 7};
 static polygon_t p_octagon = { FALSE, 1, 8, 0., 0., 0. };
 static polygon_t p_note = { FALSE, 1, 4, 0., 0., 0., DOGEAR };
 static polygon_t p_tab = { FALSE, 1, 4, 0., 0., 0., TAB };