From e59efb374076511a9f5ca2cf30d83d13e69fc281 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 13 Jul 2020 17:24:31 +0200 Subject: [PATCH] Put debug function behind ifdef --- ext/exif/exif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index a44e423250..e89d74d9e9 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -2085,10 +2085,12 @@ static inline zend_bool exif_offset_info_contains( return start >= info->valid_start && end <= info->valid_end; } +#ifdef EXIF_DEBUG static inline int exif_offset_info_length(const exif_offset_info *info) { return info->valid_end - info->valid_start; } +#endif /* {{{ exif_file_sections_add Add a file_section to image_info -- 2.50.1