diff options
-rw-r--r-- | ext/standard/iptc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c index 5e43a78d71..e94be6d875 100644 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@ -112,9 +112,7 @@ static int php_iptc_get1(FILE *fp, int spool, unsigned char **spoolbuf TSRMLS_DC */ static int php_iptc_read_remaining(FILE *fp, int spool, unsigned char **spoolbuf TSRMLS_DC) { - int c; - - while ((c = php_iptc_get1(fp, spool, spoolbuf TSRMLS_CC)) != EOF) continue; + while (php_iptc_get1(fp, spool, spoolbuf TSRMLS_CC) != EOF) continue; return M_EOI; } |