]> granicus.if.org Git - graphviz/commitdiff
Add return value to stub functions to turn off warnings
authorerg <devnull@localhost>
Wed, 30 Apr 2008 17:44:25 +0000 (17:44 +0000)
committererg <devnull@localhost>
Wed, 30 Apr 2008 17:44:25 +0000 (17:44 +0000)
lib/neatogen/delaunay.c

index 48ba946d2f3dbce5f65257d29661e098bddc5887..5bd947710b7d7ea48c8915272addbb1b9561f27a 100644 (file)
@@ -341,10 +341,12 @@ int *delaunay_tri(double *x, double *y, int n, int* pnedges)
 v_data *delaunay_triangulation(double *x, double *y, int n)
 {
     fprintf(stderr, "Graphviz built without triangulation library\n");
+    return 0;
 }
 int *delaunay_tri(double *x, double *y, int n, int* nedges)
 {
     fprintf(stderr, "Graphviz built without triangulation library\n");
+    return 0;
 }
 #endif