summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <meissner@suse.de>2017-04-06 11:12:41 +0200
committerMarcus Meissner <meissner@suse.de>2017-04-06 11:12:41 +0200
commitfe35d7878bb6e77692bb76cfd7c62b3cbb1268ad (patch)
tree6c8e712d23db175f3675ec94139299c7152d8b3a
parent9b8fbf959ee6722a07cbe2ec5a0c48a157ff33d7 (diff)
downloadlibgphoto2-fe35d7878bb6e77692bb76cfd7c62b3cbb1268ad.tar.gz
remove useless gpi_exif_stat
-rw-r--r--camlibs/minolta/dimagev/download.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/camlibs/minolta/dimagev/download.c b/camlibs/minolta/dimagev/download.c
index 628396c1b..5d74b5580 100644
--- a/camlibs/minolta/dimagev/download.c
+++ b/camlibs/minolta/dimagev/download.c
@@ -33,9 +33,6 @@ int dimagev_get_picture(dimagev_t *dimagev, int file_number, CameraFile *file) {
dimagev_packet *p, *r;
unsigned char char_buffer, command_buffer[3];
char *data;
-#ifdef _gphoto_exif_
- exifparser exifdat;
-#endif
if ( dimagev->data->host_mode != (unsigned char) 1 ) {
@@ -190,20 +187,6 @@ int dimagev_get_picture(dimagev_t *dimagev, int file_number, CameraFile *file) {
return GP_ERROR_IO;
}
-#ifdef _gphoto_exif_
- exifdat.header = (unsigned char *)data;
- exifdat.data = (unsigned char *)data + 12 ;
-
- if ( gpi_exif_stat(&exifdat) != 0 ) {
- GP_DEBUG( "dimagev_get_picture::unable to stat EXIF tags");
- free(data);
- return GP_OK;
- }
-
-/* gpi_exif_dump(&exifdat); */
-
-#endif
-
gp_file_set_data_and_size (file, data, size);
return GP_OK;