summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-12-11 07:37:30 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-12-11 07:37:30 +0000
commit52d0f1c143fe52ca6a59392329bf6e7372e5279e (patch)
tree4f56dae7e9a5fd82ac87abc476a0c6a7e401080f
parent08e020a87026b84ef9d24b62aba2959694161912 (diff)
downloadphp-git-52d0f1c143fe52ca6a59392329bf6e7372e5279e.tar.gz
decode variable is only used when mbstring is avaliable.
-rw-r--r--ext/exif/exif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 1e915d5149..6d25bb1f0a 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -2574,9 +2574,9 @@ static int exif_process_string(char **result, char *value, size_t byte_count TSR
static int exif_process_user_comment(image_info_type *ImageInfo, char **pszInfoPtr, char **pszEncoding, char *szValuePtr, int ByteCount TSRMLS_DC)
{
int a;
- char *decode;
#ifdef HAVE_MBSTRING
+ char *decode;
size_t len;;
#endif