diff --git a/FileIO/RapidXmlIO/RapidVtuInterface.cpp b/FileIO/RapidXmlIO/RapidVtuInterface.cpp index 18ec76cae31e8afdef250fcfc8d19bc9f286e879..a4c472cb31aa10f7e30ed86d06acfad6561d167f 100644 --- a/FileIO/RapidXmlIO/RapidVtuInterface.cpp +++ b/FileIO/RapidXmlIO/RapidVtuInterface.cpp @@ -72,14 +72,14 @@ MeshLib::Mesh* RapidVtuInterface::readVTUFile(const std::string &file_name) rapidxml::xml_node<>* root_node (doc.first_node()); if (isVTKUnstructuredGrid(root_node)) { - bool is_compressed(false); + // bool is_compressed = (false); // this variable is not used only be set once below //check if content is compressed const rapidxml::xml_attribute<>* compressor (root_node->first_attribute("compressor")); if (compressor ) { if (std::string(compressor->value()).compare("vtkZLibDataCompressor") == 0) { - is_compressed = true; + //is_compressed = true; // is not used hereafter uncompressData(root_node); } else @@ -323,7 +323,7 @@ unsigned char* RapidVtuInterface::uncompressData(const rapidxml::xml_node<>* nod if (data_node) compressed_data = data_node->value(); - return NULL; + return NULL; // Does here return compressed_data? } diff --git a/FileIO/XmlIO/Boost/BoostVtuInterface.cpp b/FileIO/XmlIO/Boost/BoostVtuInterface.cpp index 1d76a8c807316affb437e8a4ccfea26b2748ca59..0334ec9d6ff84a530755dd5857becdf9e3bdb8f4 100644 --- a/FileIO/XmlIO/Boost/BoostVtuInterface.cpp +++ b/FileIO/XmlIO/Boost/BoostVtuInterface.cpp @@ -362,7 +362,8 @@ unsigned char* BoostVtuInterface::uncompressData(property_tree::ptree const& com unsigned long compressed_size = strlen(compressed_data_node.data().c_str()); unsigned char* uncompressed_data = NULL; unsigned long uncompressed_size = 0; - unsigned long result = zLibDataCompressor::UncompressBuffer(compressed_data, compressed_size, uncompressed_data, uncompressed_size); + // unsigned long result = + zLibDataCompressor::UncompressBuffer(compressed_data, compressed_size, uncompressed_data, uncompressed_size); return uncompressed_data; } diff --git a/MathLib/LinAlg/Preconditioner/generateDiagPrecond.cpp b/MathLib/LinAlg/Preconditioner/generateDiagPrecond.cpp index ebe7d9072a12ab9dc59ea9743ab461095899f30d..c0f3b735b1d2e092dc646e9f6e1656727129d486 100644 --- a/MathLib/LinAlg/Preconditioner/generateDiagPrecond.cpp +++ b/MathLib/LinAlg/Preconditioner/generateDiagPrecond.cpp @@ -18,7 +18,6 @@ namespace MathLib { -static bool generateDiagPrecond (unsigned n, unsigned const*const iA, unsigned const*const jA, double const*const A, double* diag) { @@ -45,7 +44,6 @@ bool generateDiagPrecond (unsigned n, unsigned const*const iA, unsigned const*co return true; } -static bool generateDiagPrecondRowSum(unsigned n, unsigned const*const iA, double const*const A, double* diag) { unsigned idx; // first idx of next row @@ -66,7 +64,6 @@ bool generateDiagPrecondRowSum(unsigned n, unsigned const*const iA, double const return true; } -static bool generateDiagPrecondRowMax(unsigned n, unsigned const*const iA, double const*const A, double* diag) { unsigned idx; // first idx of next row