Skip to content

Commit e59efb3

Browse files
committed
Put debug function behind ifdef
1 parent 2edc5e0 commit e59efb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/exif/exif.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,10 +2085,12 @@ static inline zend_bool exif_offset_info_contains(
20852085
return start >= info->valid_start && end <= info->valid_end;
20862086
}
20872087

2088+
#ifdef EXIF_DEBUG
20882089
static inline int exif_offset_info_length(const exif_offset_info *info)
20892090
{
20902091
return info->valid_end - info->valid_start;
20912092
}
2093+
#endif
20922094

20932095
/* {{{ exif_file_sections_add
20942096
Add a file_section to image_info

0 commit comments

Comments
 (0)