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

index 46d4e028f64745662484426dfdc02278118201d6..bc1ae2bacfb8772f2c2e3119432429b1e4bcc34c 100644 (file)
@@ -164,7 +164,8 @@ static polygon_t p_fivepoverhang = {
     .peripheries = 1, .sides = 4, .option = FIVEPOVERHANG};
 static polygon_t p_threepoverhang = {
     .peripheries = 1, .sides = 4, .option = THREEPOVERHANG};
-static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG};
+static polygon_t p_noverhang = {
+    .peripheries = 1, .sides = 4, .option = NOVERHANG};
 static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY};
 static polygon_t p_signature = { FALSE, 1, 4, 0., 0., 0., SIGNATURE};
 static polygon_t p_rpromoter = { FALSE, 1, 4, 0., 0., 0., RPROMOTER};