]> granicus.if.org Git - graphviz/commitdiff
p_signature: squash -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Sep 2021 20:13:17 +0000 (13:13 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 27 Sep 2021 23:52:22 +0000 (16:52 -0700)
lib/common/shapes.c

index bc0df5c7b6d798afb0c553d6cb288ba8b566a0e3..262b20a1acbea92a69f3099931741d64aca84d24 100644 (file)
@@ -168,7 +168,8 @@ static polygon_t p_noverhang = {
     .peripheries = 1, .sides = 4, .option = NOVERHANG};
 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_signature = {
+    .peripheries = 1, .sides = 4, .option = 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};
 static polygon_t p_larrow = { FALSE, 1, 4, 0., 0., 0., LARROW};