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 ...@@ -316,14 +316,14 @@ bool RapidVtuInterface::isVTKUnstructuredGrid(const rapidxml::xml_node<>* vtk_ro
return false; 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"); rapidxml::xml_node<>* data_node = node->first_node("AppendedData");
char* compressed_data (NULL); char* compressed_data (NULL);
if (data_node) if (data_node)
compressed_data = data_node->value(); 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: ...@@ -77,7 +77,7 @@ private:
/// Construct an Element-object from the data given to the method and the data at the current stream position. /// 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 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; 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