forked from tTh/FloatImg
eliminate an useless message
This commit is contained in:
parent
e1e32b1a99
commit
d5af79e121
|
@ -43,7 +43,10 @@ if (foo) {
|
|||
if (verbosity) fimg_describe(&fimg, argv[2]);
|
||||
|
||||
foo = fimg_dump_to_file(&fimg, argv[2], 0);
|
||||
fprintf(stderr, "save as fimg -> %d\n", foo);
|
||||
if (foo) {
|
||||
fprintf(stderr, "save as '%s' -> err %d\n", argv[2], foo);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue