summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:34:28 (GMT)
committer Daniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:34:28 (GMT)
commit90fa460dcbab22d6a59bd81a8c94ded8db704304 (patch)
tree1c4cb62b206b68e6e157ed8e1e3d971e6ebb24d1
parent097bf90dcf15f02319d8a413f3cdae15fd55e4be (diff)
downloadlibparserutils-90fa460dcbab22d6a59bd81a8c94ded8db704304.tar.gz
libparserutils-90fa460dcbab22d6a59bd81a8c94ded8db704304.tar.bz2
Remove unused origlen so tests run
svn path=/trunk/libparserutils/; revision=14001
-rw-r--r--test/inputstream.c4
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) {