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

index bc1ae2bacfb8772f2c2e3119432429b1e4bcc34c..bc0df5c7b6d798afb0c553d6cb288ba8b566a0e3 100644 (file)
@@ -166,7 +166,8 @@ static polygon_t p_threepoverhang = {
     .peripheries = 1, .sides = 4, .option = THREEPOVERHANG};
 static polygon_t p_noverhang = {
     .peripheries = 1, .sides = 4, .option = NOVERHANG};
-static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY};
+static polygon_t p_assembly = {
+    .peripheries = 1, .sides = 4, .option = ASSEMBLY};
 static polygon_t p_signature = { FALSE, 1, 4, 0., 0., 0., SIGNATURE};
 static polygon_t p_rpromoter = { FALSE, 1, 4, 0., 0., 0., RPROMOTER};
 static polygon_t p_rarrow = { FALSE, 1, 4, 0., 0., 0., RARROW};