]> granicus.if.org Git - graphviz/commitdiff
add a return value to add_edges_in_G
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 02:57:20 +0000 (19:57 -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 ffb43e45a1d90fcf31e748fce72359162d6b0e7f..2c3746b3f22e8ce5e31a9f90a9db7dac68625bbf 100644 (file)
@@ -745,7 +745,7 @@ seg_cmp(segment* S1, segment* S2)
        return segCmp (S1, S2, B_DOWN, B_UP);
 }
 
-static void 
+static int
 add_edges_in_G(channel* cp)
 {
     int x,y;
@@ -763,6 +763,8 @@ add_edges_in_G(channel* cp)
            }
        }
     }
+
+    return 0;
 }
 
 static int