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

index 52c1fd6b6ed04471c9ea9d0b3b76c184944aefaf..e0ad1de5eab6e05cd0daf104bb728933a061d2b9 100644 (file)
@@ -148,7 +148,8 @@ static polygon_t p_terminator = {
 static polygon_t p_utr = {.peripheries = 1, .sides = 4, .option = UTR};
 static polygon_t p_insulator = {
     .peripheries = 1, .sides = 4, .option = INSULATOR};
-static polygon_t p_ribosite = { FALSE, 1, 4, 0., 0., 0., RIBOSITE};
+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_proteasesite = { FALSE, 1, 4, 0., 0., 0., PROTEASESITE};
 static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB};