]> granicus.if.org Git - libass/commitdiff
Remove debugging leftovers
authorGrigori Goronzy <greg@blackbox>
Thu, 29 Jul 2010 00:50:16 +0000 (02:50 +0200)
committerGrigori Goronzy <greg@blackbox>
Thu, 29 Jul 2010 00:50:16 +0000 (02:50 +0200)
libass/ass_drawing.c

index 6bf9ee1f724f7f293a7fd989a97cc13a12bb3017..7833c10a9ce4108e5bb65bc47246294b93d469f6 100644 (file)
@@ -118,18 +118,6 @@ static void drawing_finish(ASS_Drawing *drawing, int raw_mode)
     // Close the last contour
     drawing_close_shape(drawing);
 
-#if 0
-    // Dump points
-    for (i = 0; i < ol->n_points; i++) {
-        printf("point (%d, %d)\n", (int) ol->points[i].x,
-               (int) ol->points[i].y);
-    }
-
-    // Dump contours
-    for (i = 0; i < ol->n_contours; i++)
-        printf("contour %d\n", ol->contours[i]);
-#endif
-
     ass_msg(drawing->library, MSGL_V,
             "Parsed drawing with %d points and %d contours", ol->n_points,
             ol->n_contours);
@@ -230,15 +218,6 @@ static ASS_DrawingToken *drawing_tokenize(char *str)
         p++;
     }
 
-#if 0
-    // Check tokens
-    ASS_DrawingToken *t = root;
-    while(t) {
-        printf("token %d point (%d, %d)\n", t->type, t->point.x, t->point.y);
-        t = t->next;
-    }
-#endif
-
     return root;
 }