]> granicus.if.org Git - graphviz/commitdiff
find_ints: remove unused 'polygon_list' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Nov 2021 05:15:38 +0000 (21:15 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 18:22:50 +0000 (10:22 -0800)
tclpkg/tclpathplan/find_ints.c
tclpkg/tclpathplan/simple.h
tclpkg/tclpathplan/wrapper.c

index bdd01746c1d47f0926c936229b53e872d89a1c98..b4b80f3257258c29ab3cf541d3b65b64f9f59f32 100644 (file)
@@ -17,7 +17,6 @@ void find_intersection(struct vertex *l, struct vertex *m,
 static int gt(const void *a, const void *b);
 
 void find_ints(struct vertex vertex_list[],
-       struct polygon polygon_list[],
        struct data *input,
        struct intersection ilist[])
 {
index b1f0910ed3b9874d0eb8a38803fad3a7b79b53f0..1585a7e56d2d386b7bb58fd0638bc95e6024167b 100644 (file)
@@ -59,8 +59,8 @@ extern "C" {
        int npolygons, ninters;
     };
 
-void find_ints(struct vertex vertex_list[], struct polygon polygon_list[],
-               struct data *input, struct intersection ilist[]);
+void find_ints(struct vertex vertex_list[], struct data *input,
+               struct intersection ilist[]);
 
 #ifdef __cplusplus
 }
index 27512fd632e439665310ba4ccec4826c0e13b413..416e8ea72930d7369059046dfd3d3d74c1d6620b 100644 (file)
@@ -65,7 +65,7 @@ int Plegal_arrangement(Ppoly_t ** polys, int n_polys)
     input.nvertices = nverts;
     input.npolygons = n_polys;
 
-    find_ints(vertex_list, polygon_list, &input, ilist);
+    find_ints(vertex_list, &input, ilist);
 
 
 #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y))