From 569a97423cdc4a7a9cafde9dcf725cc55a4253a8 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 4 Dec 2010 16:03:19 +0000 Subject: Remove unused libdom client data stuff. svn path=/trunk/dom/; revision=10965 --- examples/dom-structure-dump.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'examples/dom-structure-dump.c') diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c index 6df421f..ac46a88 100644 --- a/examples/dom-structure-dump.c +++ b/examples/dom-structure-dump.c @@ -49,10 +49,6 @@ #define UNUSED(x) ((x)=(x)) -struct test_data { - int wah; -}; - dom_document *create_doc_dom_from_file(char *file); void *test_realloc(void *ptr, size_t len, void *pw) @@ -77,14 +73,13 @@ void test_msg(uint32_t severity, void *ctx, const char *msg, ...) int main(int argc, char **argv) { - struct test_data test_data; dom_exception exc; lwc_error err; dom_document *doc = NULL; dom_element *root = NULL; /* Initialise the DOM library */ - exc = dom_initialise(test_realloc, &test_data); + exc = dom_initialise(test_realloc, NULL); if (exc != DOM_NO_ERR) { printf("Failed to initialise DOM library.\n"); return EXIT_FAILURE; -- cgit v1.2.3