remove useless code

This commit is contained in:
Tonton Th 2020-11-02 22:58:38 +01:00
parent 423ab7f0ec
commit b43a62db68
1 changed files with 0 additions and 10 deletions

View File

@ -74,22 +74,12 @@ switch (idFx) {
case 8: case 8:
fimg_clone(image, &imgtmp, 0); fimg_clone(image, &imgtmp, 0);
fimg_clear(&imgtmp); fimg_clear(&imgtmp);
if (flag_debug) {
fprintf(stderr, "DEBUG A contour 2x2\n");
fimg_save_as_png(image, "before.png", 0);
fimg_dump_to_file(image, "before.fimg", 0);
}
retval = fimg_contour_2x2(image, &imgtmp, 0); retval = fimg_contour_2x2(image, &imgtmp, 0);
if (retval) { if (retval) {
fprintf(stderr, "%s : err contour %d\n", fprintf(stderr, "%s : err contour %d\n",
__func__, retval); __func__, retval);
exit(1); exit(1);
} }
if (flag_debug) {
fprintf(stderr, "DEBUG B contour 2x2\n");
// fimg_save_as_png(&imgtmp, "contour.png", 0);
fimg_dump_to_file(&imgtmp, "contour.fimg", 0);
}
fimg_copy_data(&imgtmp, image); fimg_copy_data(&imgtmp, image);
fimg_destroy(&imgtmp); fimg_destroy(&imgtmp);
break; break;