diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-26 23:10:06 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-26 23:10:06 +0000 |
commit | efc349e0e597a3f0030b46fee03c21bd670fdac1 (patch) | |
tree | 4002da81b79c9cc87173d29c0ec53dd7bc8991d3 /test/lex.c | |
parent | 734cf791efe792c42dca1c000c7fae633197312b (diff) | |
download | libcss-efc349e0e597a3f0030b46fee03c21bd670fdac1.tar.gz libcss-efc349e0e597a3f0030b46fee03c21bd670fdac1.tar.bz2 |
Fix test build.
svn path=/trunk/libcss/; revision=13409
Diffstat (limited to 'test/lex.c')
-rw-r--r-- | test/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |