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

index cf4998c399701c5645d4b4bb82ee0365cbe8404c..f1778f8ada4bd8a2c6557e31c5ca24bac3f2365f 100644 (file)
@@ -158,7 +158,8 @@ static polygon_t p_proteinstab = {
 /** dna construction symbols **/
 static polygon_t p_primersite = {
     .peripheries = 1, .sides = 4, .option = PRIMERSITE};
-static polygon_t p_restrictionsite = { FALSE, 1, 4, 0., 0., 0., RESTRICTIONSITE};
+static polygon_t p_restrictionsite = {
+    .peripheries = 1, .sides = 4, .option = RESTRICTIONSITE};
 static polygon_t p_fivepoverhang = { FALSE, 1, 4, 0., 0., 0., FIVEPOVERHANG};
 static polygon_t p_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG};
 static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG};