diff options
Diffstat (limited to 'doc/examples/tree2.c')
-rw-r--r-- | doc/examples/tree2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/tree2.c b/doc/examples/tree2.c index 1cd1abe5..6548e296 100644 --- a/doc/examples/tree2.c +++ b/doc/examples/tree2.c @@ -27,7 +27,6 @@ main(int argc, char **argv) { xmlDocPtr doc = NULL; /* document pointer */ xmlNodePtr root_node = NULL, node = NULL, node1 = NULL;/* node pointers */ - xmlDtdPtr dtd = NULL; /* DTD pointer */ char buff[256]; int i, j; @@ -43,7 +42,7 @@ main(int argc, char **argv) /* * Creates a DTD declaration. Isn't mandatory. */ - dtd = xmlCreateIntSubset(doc, BAD_CAST "root", NULL, BAD_CAST "tree2.dtd"); + xmlCreateIntSubset(doc, BAD_CAST "root", NULL, BAD_CAST "tree2.dtd"); /* * xmlNewChild() creates a new node, which is "attached" as child node |