From efc349e0e597a3f0030b46fee03c21bd670fdac1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 26 Jan 2012 23:10:06 +0000 Subject: Fix test build. svn path=/trunk/libcss/; revision=13409 --- test/lex.c | 4 ++-- test/parse.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/lex.c b/test/lex.c index a61826e..0d42df4 100644 --- a/test/lex.c +++ b/test/lex.c @@ -123,7 +123,7 @@ int main(int argc, char **argv) parserutils_inputstream *stream; css_lexer *lexer; FILE *fp; - size_t len, origlen; + size_t len; #define CHUNK_SIZE (4096) uint8_t buf[CHUNK_SIZE]; css_token *tok; @@ -151,7 +151,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) { diff --git a/test/parse.c b/test/parse.c index d52ee5d..887eebc 100644 --- a/test/parse.c +++ b/test/parse.c @@ -78,7 +78,7 @@ int main(int argc, char **argv) css_parser_optparams params; css_parser *parser; FILE *fp; - size_t len, origlen; + size_t len; #define CHUNK_SIZE (4096) uint8_t buf[CHUNK_SIZE]; css_error error; @@ -105,7 +105,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) { -- cgit v1.2.3