summaryrefslogtreecommitdiff
path: root/jvmfwk/source/elements.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-25 12:00:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-25 13:06:01 +0200
commitc76b5ace20a29dc16f1f71ccd8e5d6e73b9ce9fd (patch)
tree01c303814b7c0b1269a7eeb81880513841fd5049 /jvmfwk/source/elements.cxx
parent5d05367268a512a069670e70e4d896370513a24b (diff)
this code is redundant and leaks memory
Change-Id: Ib57f44c203ead68102d712ef29ab7362b0cea8db
Diffstat (limited to 'jvmfwk/source/elements.cxx')
-rw-r--r--jvmfwk/source/elements.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 55cdfa7213b0..a1c5aa987701 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -744,9 +744,6 @@ bool NodeJava::createSettingsDocument() const
CXmlDocPtr doc(xmlNewDoc((xmlChar *)"1.0"));
if (! doc)
throw FrameworkException(JFW_E_ERROR, sExcMsg);
- //Create a comment
- xmlNewDocComment(
- doc, (xmlChar *) "This is a generated file. Do not alter this file!");
//Create the root element and name spaces
xmlNodePtr root = xmlNewDocNode(