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

index 52eced5e814fe6ccc59d54ff548c68c0f0f591ac..995bf19c1d714e71ba055fb712b3869026cb1758 100644 (file)
@@ -151,7 +151,8 @@ static polygon_t p_insulator = {
 static polygon_t p_ribosite = {
     .peripheries = 1, .sides = 4, .option = RIBOSITE};
 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_proteasesite = {
+    .peripheries = 1, .sides = 4, .option = PROTEASESITE};
 static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB};
 /** dna construction symbols **/
 static polygon_t p_primersite = { FALSE, 1, 4, 0., 0., 0., PRIMERSITE};