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

index d7bed7a99d6782c1e7abd693da55e9bafe2e8b3f..43f6dffd27b5f2b391eb8bae3133e1655afeec98 100644 (file)
@@ -173,7 +173,7 @@ static polygon_t p_signature = {
 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 = { FALSE, 1, 4, 0., 0., 0., LARROW};
+static polygon_t p_larrow = {.peripheries = 1, .sides = 4, .option = LARROW};
 static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER};
 
 #define IS_BOX(n) (ND_shape(n)->polygon == &p_box)