]> granicus.if.org Git - graphviz/commitdiff
p_threepoverhang: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 18:09:00 +0000 (11:09 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Sep 2021 18:27:23 +0000 (11:27 -0700)
lib/common/shapes.c

index 0de6a28cbd7ec5d9ead9ad60be60f53dd8a69991..46d4e028f64745662484426dfdc02278118201d6 100644 (file)
@@ -162,7 +162,8 @@ static polygon_t p_restrictionsite = {
     .peripheries = 1, .sides = 4, .option = RESTRICTIONSITE};
 static polygon_t p_fivepoverhang = {
     .peripheries = 1, .sides = 4, .option = FIVEPOVERHANG};
-static polygon_t p_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG};
+static polygon_t p_threepoverhang = {
+    .peripheries = 1, .sides = 4, .option = THREEPOVERHANG};
 static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG};
 static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY};
 static polygon_t p_signature = { FALSE, 1, 4, 0., 0., 0., SIGNATURE};