]> granicus.if.org Git - graphviz/commitdiff
neatogen multispline: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 6 Sep 2021 19:36:02 +0000 (12:36 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 9 Sep 2021 14:32:12 +0000 (07:32 -0700)
lib/neatogen/multispline.c

index 9b7e89309e26f1881c8c7b1f00f072986b51b2b7..945a2f2af426dd51e13095f995318227d93c1f52 100644 (file)
@@ -24,7 +24,8 @@ static boolean swap_ends_p(edge_t * e)
     return FALSE;
 }
 
-static splineInfo sinfo = { swap_ends_p, spline_merge };
+static splineInfo sinfo = {.swapEnds = swap_ends_p,
+                           .splineMerge = spline_merge};
 
 typedef struct {
     int i, j;