summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-12-16 01:10:42 -0800
committerChristoph M. Becker <cmbecker69@gmx.de>2019-12-17 09:33:05 +0100
commitdf5ec733ff0daae6894aee85384f55b48461be08 (patch)
treea55b671a0b63c31b1299be0748a01d42cdd4c2fa
parent63d0fa4a92a2c0ce3e4e31cda2e9291e12055c77 (diff)
downloadphp-git-df5ec733ff0daae6894aee85384f55b48461be08.tar.gz
Fix build - no model field anymore
(cherry picked from commit b74a300edf9ee1cd33edbafd9f3aec37ff4bf004)
-rw-r--r--ext/exif/exif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 362e63d9a3..afc299846e 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -3138,8 +3138,6 @@ static int exif_process_IFD_in_MAKERNOTE(image_info_type *ImageInfo, char * valu
/*exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "check (%s)", maker_note->make?maker_note->make:"");*/
if (maker_note->make && (!ImageInfo->make || strcmp(maker_note->make, ImageInfo->make)))
continue;
- if (maker_note->model && (!ImageInfo->model || strcmp(maker_note->model, ImageInfo->model)))
- continue;
if (maker_note->id_string && value_len >= maker_note->id_string_len
&& strncmp(maker_note->id_string, value_ptr, maker_note->id_string_len))
continue;