Skip to content
Snippets Groups Projects
Commit 7a2340db authored by wenqing's avatar wenqing
Browse files

Remove a commit about warnings

parent 6acb5d61
No related branches found
No related tags found
No related merge requests found
......@@ -316,14 +316,14 @@ bool RapidVtuInterface::isVTKUnstructuredGrid(const rapidxml::xml_node<>* vtk_ro
return false;
}
char* RapidVtuInterface::uncompressData(const rapidxml::xml_node<>* node)
unsigned char* RapidVtuInterface::uncompressData(const rapidxml::xml_node<>* node)
{
rapidxml::xml_node<>* data_node = node->first_node("AppendedData");
char* compressed_data (NULL);
if (data_node)
compressed_data = data_node->value();
return compressed_data; //? return NULL; // Does here return compressed_data?
return NULL; // Does here return compressed_data?
}
......
......@@ -77,7 +77,7 @@ private:
/// Construct an Element-object from the data given to the method and the data at the current stream position.
static MeshLib::Element* readElement(std::stringstream &iss, const std::vector<MeshLib::Node*> &nodes, unsigned material, unsigned type);
static char* uncompressData(const rapidxml::xml_node<>* node);
static unsigned char* uncompressData(const rapidxml::xml_node<>* node);
bool _use_compressor;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment