Skip to content

Commit 89e3c8a

Browse files
committed
Remove dead debug_clip_tree function
1 parent 8a37d87 commit 89e3c8a

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

src/libImaging/Draw.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,31 +1266,6 @@ typedef void (*clip_ellipse_init)(
12661266
clip_ellipse_state *, int32_t, int32_t, int32_t, float, float
12671267
);
12681268

1269-
void
1270-
debug_clip_tree(clip_node *root, int space) {
1271-
if (root == NULL) {
1272-
return;
1273-
}
1274-
if (root->type == CT_CLIP) {
1275-
int t = space;
1276-
while (t--) {
1277-
fputc(' ', stderr);
1278-
}
1279-
fprintf(stderr, "clip %+fx%+fy%+f > 0\n", root->a, root->b, root->c);
1280-
} else {
1281-
debug_clip_tree(root->l, space + 2);
1282-
int t = space;
1283-
while (t--) {
1284-
fputc(' ', stderr);
1285-
}
1286-
fprintf(stderr, "%s\n", root->type == CT_AND ? "and" : "or");
1287-
debug_clip_tree(root->r, space + 2);
1288-
}
1289-
if (space == 0) {
1290-
fputc('\n', stderr);
1291-
}
1292-
}
1293-
12941269
// Resulting angles will satisfy 0 <= al < 360, al <= ar <= al + 360
12951270
void
12961271
normalize_angles(float *al, float *ar) {

0 commit comments

Comments
 (0)