From b43a62db68f0f52cfafd8ef9b2cbc09570c2b2ab Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 2 Nov 2020 22:58:38 +0100 Subject: [PATCH] remove useless code --- Fonderie/crapulator.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Fonderie/crapulator.c b/Fonderie/crapulator.c index dc5acfd..11458b9 100644 --- a/Fonderie/crapulator.c +++ b/Fonderie/crapulator.c @@ -74,22 +74,12 @@ switch (idFx) { case 8: fimg_clone(image, &imgtmp, 0); 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); if (retval) { fprintf(stderr, "%s : err contour %d\n", __func__, retval); 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_destroy(&imgtmp); break;