Skip to content

Commit 7845182

Browse files
committed
Remove debug code
1 parent 363bb03 commit 7845182

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/exif/exif.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4312,8 +4312,6 @@ static int exif_read_from_stream(image_info_type *ImageInfo, php_stream *stream,
43124312
int ret;
43134313
zend_stat_t st;
43144314

4315-
php_printf("exif_read_from_stream");
4316-
43174315
/* Start with an empty image information structure. */
43184316
memset(ImageInfo, 0, sizeof(*ImageInfo));
43194317

@@ -4377,8 +4375,6 @@ static int exif_read_from_file(image_info_type *ImageInfo, char *FileName, int r
43774375
int ret;
43784376
php_stream *stream;
43794377

4380-
php_printf("exif_read_from_file");
4381-
43824378
stream = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK | IGNORE_PATH, NULL);
43834379

43844380
if (!stream) {
@@ -4459,7 +4455,7 @@ PHP_FUNCTION(exif_read_data)
44594455
convert_to_string(stream);
44604456

44614457
if (!Z_STRLEN_P(stream)) {
4462-
exif_error_docref(NULL EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be empty");
4458+
exif_error_docref(NULL, EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be empty");
44634459

44644460
RETURN_FALSE;
44654461
}

0 commit comments

Comments
 (0)