]> granicus.if.org Git - graphviz/commitdiff
p_rnastab: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 18:03:44 +0000 (11:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Sep 2021 18:27:23 +0000 (11:27 -0700)
lib/common/shapes.c

index e0ad1de5eab6e05cd0daf104bb728933a061d2b9..52eced5e814fe6ccc59d54ff548c68c0f0f591ac 100644 (file)
@@ -150,7 +150,7 @@ static polygon_t p_insulator = {
     .peripheries = 1, .sides = 4, .option = INSULATOR};
 static polygon_t p_ribosite = {
     .peripheries = 1, .sides = 4, .option = RIBOSITE};
-static polygon_t p_rnastab = { FALSE, 1, 4, 0., 0., 0., RNASTAB};
+static polygon_t p_rnastab = {.peripheries = 1, .sides = 4, .option = RNASTAB};
 static polygon_t p_proteasesite = { FALSE, 1, 4, 0., 0., 0., PROTEASESITE};
 static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB};
 /** dna construction symbols **/