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

index 43f6dffd27b5f2b391eb8bae3133e1655afeec98..18193a6c9b6f5656c2fc3a2dc2b19257008e585b 100644 (file)
@@ -174,7 +174,8 @@ static polygon_t p_rpromoter = {
     .peripheries = 1, .sides = 4, .option = RPROMOTER};
 static polygon_t p_rarrow = {.peripheries = 1, .sides = 4, .option = RARROW};
 static polygon_t p_larrow = {.peripheries = 1, .sides = 4, .option = LARROW};
-static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER};
+static polygon_t p_lpromoter = {
+    .peripheries = 1, .sides = 4, .option = LPROMOTER};
 
 #define IS_BOX(n) (ND_shape(n)->polygon == &p_box)
 #define IS_PLAIN(n) (ND_shape(n)->polygon == &p_plain)