remove useless code
This commit is contained in:
parent
423ab7f0ec
commit
b43a62db68
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user