From: Matthew Fernandez Date: Sat, 24 Apr 2021 02:53:05 +0000 (-0700) Subject: add a return value to assignTracks X-Git-Tag: 2.47.2~13^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2707b3d3b138434401dca8f67e9bb6e05f99ed1a;p=graphviz add a return value to assignTracks Related to #1801. --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index b8cee0f0d..f760d13b3 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -1072,7 +1072,7 @@ add_p_edges (Dt_t* chans, maze* mp) } } -static void +static int assignTracks (maze* mp) { /* Create the graphs for each channel */ @@ -1090,6 +1090,8 @@ assignTracks (maze* mp) /* Assign the tracks after a top sort */ assignTrackNo (mp->hchans); assignTrackNo (mp->vchans); + + return 0; } static double