Fix a few 'used uninitialized' warnings.

This commit is contained in:
Cole Robinson 2009-05-13 17:43:47 +00:00
parent 7afe94e7e2
commit ee0d7552e2
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Wed May 13 13:37:02 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/virsh.c: Fix a few 'used uninitialized' warnings.
Wed May 13 18:06:17 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/buf.c: avoid an XML attribute escaping bug #499791

View File

@ -4096,9 +4096,9 @@ cleanup:
static xmlChar *
makeCloneXML(char *origxml, char *newname) {
xmlDocPtr doc;
xmlXPathContextPtr ctxt;
xmlXPathObjectPtr obj;
xmlDocPtr doc = NULL;
xmlXPathContextPtr ctxt = NULL;
xmlXPathObjectPtr obj = NULL;
xmlChar *newxml = NULL;
int size;