add a little warning

This commit is contained in:
tTh 2024-03-24 15:24:09 +01:00
parent f1d42c74a6
commit fc9b6571f3

View File

@ -36,6 +36,10 @@ fprintf(stderr, ">>> %s ( '%s' '%s' %d )\n", __func__, infname, outfname, type);
fimg_show_filter(NULL, &filtre);
#endif
if (0 != type) {
fprintf(stderr, "%s: bad type %d\n", __func__, type);
}
if ((foo = fimg_create_from_dump(infname, &src))) {
fprintf(stderr, "read error on '%s' is %d\n", infname, foo);
exit(2);