diff options
Diffstat (limited to 'test/inputstream.c')
-rw-r--r-- | test/inputstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/inputstream.c b/test/inputstream.c index ba11e9c..4c37098 100644 --- a/test/inputstream.c +++ b/test/inputstream.c @@ -25,7 +25,7 @@ int main(int argc, char **argv) { parserutils_inputstream *stream; FILE *fp; - size_t len, origlen; + size_t len; #define CHUNK_SIZE (4096) uint8_t buf[CHUNK_SIZE]; const uint8_t *c; @@ -46,7 +46,7 @@ int main(int argc, char **argv) } fseek(fp, 0, SEEK_END); - origlen = len = ftell(fp); + len = ftell(fp); fseek(fp, 0, SEEK_SET); while (len >= CHUNK_SIZE) { |