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

index 995bf19c1d714e71ba055fb712b3869026cb1758..705bcaa0e15d7bd3b97f3e5009fc0d79743a2607 100644 (file)
@@ -153,7 +153,8 @@ static polygon_t p_ribosite = {
 static polygon_t p_rnastab = {.peripheries = 1, .sides = 4, .option = RNASTAB};
 static polygon_t p_proteasesite = {
     .peripheries = 1, .sides = 4, .option = PROTEASESITE};
-static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB};
+static polygon_t p_proteinstab = {
+    .peripheries = 1, .sides = 4, .option = PROTEINSTAB};
 /** dna construction symbols **/
 static polygon_t p_primersite = { FALSE, 1, 4, 0., 0., 0., PRIMERSITE};
 static polygon_t p_restrictionsite = { FALSE, 1, 4, 0., 0., 0., RESTRICTIONSITE};