silence a verbose warning

This commit is contained in:
tTh 2023-02-11 18:04:38 +01:00
parent 4ae4947fbe
commit c1ce8f7696
1 changed files with 3 additions and 3 deletions

View File

@ -251,7 +251,7 @@ if ( (filehead.w != where->width) ||
/* XXX preparer la gestion des metadata */ /* XXX preparer la gestion des metadata */
if ('a' == filehead.magic[4]) { if ('a' == filehead.magic[4]) {
fprintf(stderr,"****** %s have metadata\n", fname); if (verbosity > 1) fprintf(stderr,"****** %s have metadata\n", fname);
foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR); foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR);
if (foo) { if (foo) {
fprintf(stderr, "%s: seek error\n", __func__); fprintf(stderr, "%s: seek error\n", __func__);
@ -327,8 +327,8 @@ if (foo) {
/* /*
* Oh boy, we have to skeep the metadata chunck * Oh boy, we have to skeep the metadata chunck
*/ */
if ('a' == filehead.magic[4]) { if ('a' == filehead.magic[4]) {
if (verbosity) if (verbosity > 1)
{ fprintf(stderr, "%s: %s has metadata\n", __func__, fname); } { fprintf(stderr, "%s: %s has metadata\n", __func__, fname); }
foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR); foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR);
if (foo) { if (foo) {