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

index 262b20a1acbea92a69f3099931741d64aca84d24..64240d917c32333bf3de42db92a01314f3502092 100644 (file)
@@ -170,7 +170,8 @@ static polygon_t p_assembly = {
     .peripheries = 1, .sides = 4, .option = ASSEMBLY};
 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_rpromoter = {
+    .peripheries = 1, .sides = 4, .option = 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};
 static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER};