Author: tlsa
Date: Thu Jan 26 17:10:06 2012
New Revision: 13409
URL:
http://source.netsurf-browser.org?rev=13409&view=rev
Log:
Fix test build.
Modified:
trunk/libcss/test/lex.c
trunk/libcss/test/parse.c
Modified: trunk/libcss/test/lex.c
URL:
http://source.netsurf-browser.org/trunk/libcss/test/lex.c?rev=13409&r...
==============================================================================
--- trunk/libcss/test/lex.c (original)
+++ trunk/libcss/test/lex.c Thu Jan 26 17:10:06 2012
@@ -123,7 +123,7 @@
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 @@
}
fseek(fp, 0, SEEK_END);
- origlen = len = ftell(fp);
+ len = ftell(fp);
fseek(fp, 0, SEEK_SET);
while (len >= CHUNK_SIZE) {
Modified: trunk/libcss/test/parse.c
URL:
http://source.netsurf-browser.org/trunk/libcss/test/parse.c?rev=13409&...
==============================================================================
--- trunk/libcss/test/parse.c (original)
+++ trunk/libcss/test/parse.c Thu Jan 26 17:10:06 2012
@@ -78,7 +78,7 @@
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 @@
}
fseek(fp, 0, SEEK_END);
- origlen = len = ftell(fp);
+ len = ftell(fp);
fseek(fp, 0, SEEK_SET);
while (len >= CHUNK_SIZE) {