more clean...

This commit is contained in:
tTh
2022-08-22 17:53:30 +02:00
parent ce49cc7a08
commit 530d2755d3
9 changed files with 65 additions and 75 deletions

View File

@@ -132,11 +132,9 @@ switch (commande)
break;
}
#if DEBUG_LEVEL
if (foo)
fprintf(stderr, "dither %d retour = %d, %s\n", commande,
foo, Image_err2str(foo));
#endif
foo = Image_TGA_save(argv[3], dst, 0);

View File

@@ -399,6 +399,10 @@ switch(mode)
fprintf(stderr, "Hu ho %d ?\n", mode);
break;
}
if (foo) {
fprintf(stderr, "at end of %s, foo was %d\n", __func__, foo);
}
return 0;
}
/*::------------------------------------------------------------------::*/