5 May
2006
5 May
'06
5:34 p.m.
On Fri, 5 May 2006, Bob Jamison wrote:
Ben Fowler wrote:
I get a warning about use of uninitialised variable 'defs', and I guess I didn't have my shredded wheat today, because I can't seem to work out whether this warning counts for anything. Should defs be initialised to NULL?
No, the first argument is the context node. It is the node whose children you will be searching. I suspect that it should be set to Inkscape::XML::Node * defs = path;
Or just forget 'defs' and use 'path' in the function.
No, actually it should be pulling defs out of the SPDocument. Sorry, I committed code with a warning, but it currently isn't called by anything. (it would do bad stuff it was)
--Ted