]> granicus.if.org Git - php/commitdiff
Fix build - no model field anymore
authorStanislav Malyshev <stas@php.net>
Mon, 16 Dec 2019 09:10:42 +0000 (01:10 -0800)
committerStanislav Malyshev <stas@php.net>
Mon, 16 Dec 2019 09:10:42 +0000 (01:10 -0800)
ext/exif/exif.c

index 362e63d9a3286d43596a4a3cd1a2eca348b8c6c1..afc299846e2378be69a35738ea67ce4c9bc32585 100644 (file)
@@ -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;