comparison TaskManager/Test/test_render/SceneGraph.cpp @ 238:443c7ae1c7a7 draft

warning clean
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 29 May 2009 13:43:52 +0900
parents a314d8cd2082
children c4918a1fb6c9
comparison
equal deleted inserted replaced
237:7bd052a53996 238:443c7ae1c7a7
220 void 220 void
221 SceneGraph::createFromXMLfile(const char *xmlfile) 221 SceneGraph::createFromXMLfile(const char *xmlfile)
222 { 222 {
223 xmlDocPtr doc; 223 xmlDocPtr doc;
224 xmlNodePtr cur; 224 xmlNodePtr cur;
225 SceneGraphPtr root = NULL, tmp, parent; 225 SceneGraphPtr root = NULL, tmp = NULL, parent;
226 226
227 /* パース DOM生成 */ 227 /* パース DOM生成 */
228 doc = xmlParseFile(xmlfile); 228 doc = xmlParseFile(xmlfile);
229 cur = xmlDocGetRootElement(doc); 229 cur = xmlDocGetRootElement(doc);
230 230