summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-10 17:49:16 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-10 17:49:16 +0200
commit152715a51df87b0eb947fe02baa0b53f82f81f52 (patch)
treebfc7c4a2ddd72c286fbb604dce1c1edb15b3aad0 /src
parent32fde3a0bedb8e4278900c2b460140ab0c27450a (diff)
remove error.what() debug output
The interface seems to have changed between exiv2 versions.
Diffstat (limited to 'src')
-rw-r--r--src/ImageMetaData.cxx6
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++;
}