com php-src: Remove debug code: ext/exif/exif.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 12 Jul 2017 04:12:07 +0000 |
| Subject: | com php-src: Remove debug code: ext/exif/exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98525@lists.php.net to get a copy of this message | ||
Commit: 7845182edd64e29eb751380121a99e00975e15a0
Author: Kalle Sommer Nielsen <kalle@php.net> Wed, 12 Jul 2017 06:12:07 +0200
Parents: 363bb03b7ece6abc9281097a004bd1625f2879f7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7845182edd64e29eb751380121a99e00975e15a0
Log:
Remove debug code
Changed paths:
M ext/exif/exif.c
Diff:
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 2f07198..4d8fc6c 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -4312,8 +4312,6 @@ static int exif_read_from_stream(image_info_type *ImageInfo, php_stream
*stream,
int ret;
zend_stat_t st;
- php_printf("exif_read_from_stream");
-
/* Start with an empty image information structure. */
memset(ImageInfo, 0, sizeof(*ImageInfo));
@@ -4377,8 +4375,6 @@ static int exif_read_from_file(image_info_type *ImageInfo, char *FileName, int
r
int ret;
php_stream *stream;
- php_printf("exif_read_from_file");
-
stream = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK | IGNORE_PATH, NULL);
if (!stream) {
@@ -4459,7 +4455,7 @@ PHP_FUNCTION(exif_read_data)
convert_to_string(stream);
if (!Z_STRLEN_P(stream)) {
- exif_error_docref(NULL EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be
empty");
+ exif_error_docref(NULL, EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be
empty");
RETURN_FALSE;
}