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

index f1778f8ada4bd8a2c6557e31c5ca24bac3f2365f..0de6a28cbd7ec5d9ead9ad60be60f53dd8a69991 100644 (file)
@@ -160,7 +160,8 @@ static polygon_t p_primersite = {
     .peripheries = 1, .sides = 4, .option = PRIMERSITE};
 static polygon_t p_restrictionsite = {
     .peripheries = 1, .sides = 4, .option = RESTRICTIONSITE};
-static polygon_t p_fivepoverhang = { FALSE, 1, 4, 0., 0., 0., FIVEPOVERHANG};
+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_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG};
 static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY};