]> granicus.if.org Git - graphviz/commitdiff
add a return value to add_np_edges
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 02:55:12 +0000 (19:55 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 14 May 2021 00:03:36 +0000 (17:03 -0700)
Related to #1801.

lib/ortho/ortho.c

index b7bfe7d6dacf9794b77efdb959023b686b693b17..7e00216caa21771e3bf14785a8c3315042f73de7 100644 (file)
@@ -765,7 +765,7 @@ add_edges_in_G(channel* cp)
     }
 }
 
-static void
+static int
 add_np_edges (Dt_t* chans)
 {
     Dt_t* lp;
@@ -781,6 +781,8 @@ add_np_edges (Dt_t* chans)
                add_edges_in_G(cp);
        }
     }
+
+    return 0;
 }
 
 static segment*