summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-12-16 01:10:42 -0800
committerStanislav Malyshev <stas@php.net>2019-12-16 01:10:42 -0800
commitb74a300edf9ee1cd33edbafd9f3aec37ff4bf004 (patch)
tree661c9ef8090841cb417d7ce977eb9d3d34946976
parenta65b8abf2c9702503591d894ddac0b2f046950b6 (diff)
downloadphp-git-b74a300edf9ee1cd33edbafd9f3aec37ff4bf004.tar.gz
Fix build - no model field anymore
-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;