-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
std::string anOwnPanel = getProperty(theNode, PROPERTY_PANEL_ID);
if (!anOwnPanel.empty()) {
xmlBufferPtr buffer = xmlBufferCreate();
- int size = xmlNodeDump(buffer, theNode->doc, theNode, 0, 0);
+#ifdef _DEBUG
+ int size =
+#endif
+ xmlNodeDump(buffer, theNode->doc, theNode, 0, 0);
result = std::string((char*) (buffer->content));
xmlBufferFree(buffer);
}
//Replace all "source" nodes with content;
resolveSourceNodes(theNode);
xmlBufferPtr buffer = xmlBufferCreate();
- int size = xmlNodeDump(buffer, theNode->doc, theNode, 0, 0);
+#ifdef _DEBUG
+ int size =
+#endif
+ xmlNodeDump(buffer, theNode->doc, theNode, 0, 0);
result = std::string((char*) (buffer->content));
xmlBufferFree(buffer);
return result;