]> granicus.if.org Git - php/commitdiff
inheader set but unused
authorSascha Schumann <sas@php.net>
Sat, 4 May 2002 17:41:11 +0000 (17:41 +0000)
committerSascha Schumann <sas@php.net>
Sat, 4 May 2002 17:41:11 +0000 (17:41 +0000)
ext/standard/iptc.c

index 616d1b0815707b5ebcc89a01b5e4f4d3ce6f8b6e..5e43a78d712b934a26af95567086026515aef5b2 100644 (file)
@@ -304,7 +304,7 @@ PHP_FUNCTION(iptcembed)
    Parse binary IPTC-data into associative array */
 PHP_FUNCTION(iptcparse)
 {
-       unsigned int length, inx, len, inheader, tagsfound;
+       unsigned int length, inx, len, tagsfound;
        unsigned char *buffer;
        unsigned char recnum, dataset;
        unsigned char key[ 16 ];
@@ -319,7 +319,6 @@ PHP_FUNCTION(iptcparse)
        length = Z_STRLEN_PP(str);
        buffer = Z_STRVAL_PP(str);
 
-       inheader = 0; /* have we already found the IPTC-Header??? */
        tagsfound = 0; /* number of tags already found */
 
        while (inx < length) { /* find 1st tag */