add a little warning
This commit is contained in:
parent
f1d42c74a6
commit
fc9b6571f3
@ -36,6 +36,10 @@ fprintf(stderr, ">>> %s ( '%s' '%s' %d )\n", __func__, infname, outfname, type);
|
|||||||
fimg_show_filter(NULL, &filtre);
|
fimg_show_filter(NULL, &filtre);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (0 != type) {
|
||||||
|
fprintf(stderr, "%s: bad type %d\n", __func__, type);
|
||||||
|
}
|
||||||
|
|
||||||
if ((foo = fimg_create_from_dump(infname, &src))) {
|
if ((foo = fimg_create_from_dump(infname, &src))) {
|
||||||
fprintf(stderr, "read error on '%s' is %d\n", infname, foo);
|
fprintf(stderr, "read error on '%s' is %d\n", infname, foo);
|
||||||
exit(2);
|
exit(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user