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

index 64240d917c32333bf3de42db92a01314f3502092..d7bed7a99d6782c1e7abd693da55e9bafe2e8b3f 100644 (file)
@@ -172,7 +172,7 @@ static polygon_t p_signature = {
     .peripheries = 1, .sides = 4, .option = SIGNATURE};
 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_rarrow = {.peripheries = 1, .sides = 4, .option = 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};