optimize or futurbug ?"

This commit is contained in:
tonton th 2021-01-10 15:17:54 +01:00
parent 47dbf6ea1a
commit 169ace3d25
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ if (fimg_images_not_compatible(psrc, pdst)) {
return -8;
}
foo = fimg_copy_data(psrc, pdst);
if (psrc != pdst) { /* optimize or futurbug ? */
foo = fimg_copy_data(psrc, pdst);
}
szimg = pdst->width * pdst->height;
fprintf(stderr, "%s : %d pixels\n", __func__, szimg);