summaryrefslogtreecommitdiffstats
path: root/src/rdf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rdf.cpp')
-rw-r--r--src/rdf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rdf.cpp b/src/rdf.cpp
index a6842c31d..16344e520 100644
--- a/src/rdf.cpp
+++ b/src/rdf.cpp
@@ -563,7 +563,6 @@ unsigned int RDFImpl::setReprText( Inkscape::XML::Node * repr,
int i;
Inkscape::XML::Node * temp=NULL;
- Inkscape::XML::Node * child=NULL;
Inkscape::XML::Node * parent=repr;
Inkscape::XML::Document * xmldoc = parent->document();
@@ -669,7 +668,7 @@ unsigned int RDFImpl::setReprText( Inkscape::XML::Node * repr,
parent->appendChild(temp);
Inkscape::GC::release(temp);
- child = xmldoc->createTextNode( g_strstrip(str) );
+ Inkscape::XML::Node * child = xmldoc->createTextNode( g_strstrip(str) );
g_return_val_if_fail (child != NULL, 0);
temp->appendChild(child);