aboutsummaryrefslogtreecommitdiffstats
path: root/exiftran.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:48:12 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:48:12 +0100
commitff611dad45be219c36b0ea0f856512eab6eaf82b (patch)
tree85929609b13926898ccdc8afdee400fc86f1784d /exiftran.c
parent01d79c588f3046f0532cfb35173e5341e517db89 (diff)
downloadfbida-ff611dad45be219c36b0ea0f856512eab6eaf82b.tar.gz
zap HAVE_NEW_EXIF
Diffstat (limited to 'exiftran.c')
-rw-r--r--exiftran.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/exiftran.c b/exiftran.c
index 7f0de77..438cc01 100644
--- a/exiftran.c
+++ b/exiftran.c
@@ -23,9 +23,7 @@
static void dump_exif(FILE *out, ExifData *ed)
{
const char *title, *value;
-#ifdef HAVE_NEW_EXIF
char buffer[256];
-#endif
ExifEntry *ee;
int tag,i;
@@ -38,11 +36,7 @@ static void dump_exif(FILE *out, ExifData *ed)
ee = exif_content_get_entry (ed->ifd[i], tag);
if (NULL == ee)
continue;
-#ifdef HAVE_NEW_EXIF
value = exif_entry_get_value(ee, buffer, sizeof(buffer));
-#else
- value = exif_entry_get_value(ee);
-#endif
fprintf(out," 0x%04x %-30s %s\n", tag, title, value);
}
}