summaryrefslogtreecommitdiff
path: root/test/tree-buf.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
commitef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77 (patch)
treea8bf79d08ed4fa619e836880f499ec8b29165d42 /test/tree-buf.c
parentdeb36d37e23997aa5352e0a7c2cc99e4a29f0416 (diff)
downloadlibhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.gz
libhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.bz2
Remove init/final and embed entity trie at build time. r=vince
svn path=/trunk/hubbub/; revision=10976
Diffstat (limited to 'test/tree-buf.c')
-rw-r--r--test/tree-buf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/tree-buf.c b/test/tree-buf.c
index 404c8f7..bfbf0a0 100644
--- a/test/tree-buf.c
+++ b/test/tree-buf.c
@@ -208,9 +208,6 @@ int main(int argc, char **argv)
return 1;
}
- /* Initialise library */
- assert(hubbub_initialise(argv[1], myrealloc, NULL) == HUBBUB_OK);
-
fp = fopen(argv[2], "rb");
if (fp == NULL) {
printf("Failed opening %s\n", argv[2]);
@@ -271,8 +268,6 @@ int main(int argc, char **argv)
free(got.buf);
- assert(hubbub_finalise(myrealloc, NULL) == HUBBUB_OK);
-
return 0;
}