diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-10 17:49:16 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-10 17:49:16 +0200 |
commit | 152715a51df87b0eb947fe02baa0b53f82f81f52 (patch) | |
tree | bfc7c4a2ddd72c286fbb604dce1c1edb15b3aad0 | |
parent | 32fde3a0bedb8e4278900c2b460140ab0c27450a (diff) |
remove error.what() debug output
The interface seems to have changed between exiv2 versions.
-rw-r--r-- | src/ImageMetaData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx index a1a4a98..49ee4e8 100644 --- a/src/ImageMetaData.cxx +++ b/src/ImageMetaData.cxx @@ -108,7 +108,7 @@ ImageMetaData::load_image_exif(char *name) { image = Exiv2::ImageFactory::open(name); image->readMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error reading metadata (%s)\n", error.what()); + fprintf(stderr, "Error reading metadata\n"); return 1; } @@ -166,7 +166,7 @@ ImageMetaData::load_image_jpgcom(char *name) { image = Exiv2::ImageFactory::open(name); image->readMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error reading metadata (%s)\n", error.what()); + fprintf(stderr, "Error reading metadata\n"); return 1; } @@ -258,7 +258,7 @@ ImageMetaData::save_image_jpgcom(char *in_img, char *out_img) { try { image->writeMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error writing metadata (%s)\n", error.what()); + fprintf(stderr, "Error writing metadata\n"); err++; } |