summaryrefslogtreecommitdiff
path: root/test/tree.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-25 17:02:39 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-25 17:02:39 +0000
commit0685e317c1708fa2cdcf6bd0943cc7a9208adaf2 (patch)
tree0aaea7b30fd3d3e572b08fb37669ea291f84fa96 /test/tree.c
parent9ce4251a5d71cbffa0863f45d72847285d03d6d5 (diff)
downloadlibhubbub-0685e317c1708fa2cdcf6bd0943cc7a9208adaf2.tar.gz
libhubbub-0685e317c1708fa2cdcf6bd0943cc7a9208adaf2.tar.bz2
Make testcases compile in release mode
svn path=/trunk/hubbub/; revision=6878
Diffstat (limited to 'test/tree.c')
-rw-r--r--test/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tree.c b/test/tree.c
index 8a5a5b1..8738dcf 100644
--- a/test/tree.c
+++ b/test/tree.c
@@ -88,6 +88,8 @@ static int run_test(int argc, char **argv, unsigned int CHUNK_SIZE)
hubbub_charset_source cssource;
bool passed = true;
+ UNUSED(argc);
+
node_ref = calloc(NODE_REF_CHUNK, sizeof(uint16_t));
if (node_ref == NULL) {
printf("Failed allocating node_ref\n");