]> granicus.if.org Git - graphviz/commitdiff
p_terminator: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Sep 2021 22:43:17 +0000 (15:43 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 16:59:20 +0000 (09:59 -0700)
lib/common/shapes.c

index 66bda29e507dfe8b921127b5b6a24b1c93584479..7f738c8da55dc9d676ee487a2895801a4d97ab91 100644 (file)
@@ -143,7 +143,8 @@ static polygon_t p_star = {
 static polygon_t p_promoter = {
     .peripheries = 1, .sides = 4, .option = PROMOTER};
 static polygon_t p_cds = {.peripheries = 1, .sides = 4, .option = CDS};
-static polygon_t p_terminator = { FALSE, 1, 4, 0., 0., 0., TERMINATOR};
+static polygon_t p_terminator = {
+    .peripheries = 1, .sides = 4, .option = TERMINATOR};
 static polygon_t p_utr = { FALSE, 1, 4, 0., 0., 0., UTR};
 static polygon_t p_insulator = { FALSE, 1, 4, 0., 0., 0., INSULATOR};
 static polygon_t p_ribosite = { FALSE, 1, 4, 0., 0., 0., RIBOSITE};