Browse Source

fixed a series of spurious unused parameter warnings

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
dcaa83d998
  1. 2
      src/storm/generator/CompressedState.h
  2. 4
      src/storm/modelchecker/results/QualitativeCheckResult.cpp
  3. 2
      src/storm/parser/GspnParser.cpp
  4. 2
      src/storm/storage/dd/sylvan/InternalSylvanDdManager.cpp

2
src/storm/generator/CompressedState.h

@ -15,7 +15,7 @@ namespace storm {
typedef storm::storage::BitVector CompressedState;
class VariableInformation;
struct VariableInformation;
/*!
* Unpacks the compressed state into the evaluator.

4
src/storm/modelchecker/results/QualitativeCheckResult.cpp

@ -5,11 +5,11 @@
namespace storm {
namespace modelchecker {
QualitativeCheckResult& QualitativeCheckResult::operator&=(QualitativeCheckResult const& other) {
QualitativeCheckResult& QualitativeCheckResult::operator&=(QualitativeCheckResult const&) {
STORM_LOG_THROW(false, storm::exceptions::InvalidOperationException, "Unable to perform logical 'and' on the two check results.");
}
QualitativeCheckResult& QualitativeCheckResult::operator|=(QualitativeCheckResult const& other) {
QualitativeCheckResult& QualitativeCheckResult::operator|=(QualitativeCheckResult const&) {
STORM_LOG_THROW(false, storm::exceptions::InvalidOperationException, "Unable to perform logical 'or' on the two check results.");
}

2
src/storm/parser/GspnParser.cpp

@ -81,7 +81,7 @@ namespace storm {
delete errHandler;
xercesc::XMLPlatformUtils::Terminate();
#else
STORM_LOG_THROW(false, storm::exceptions::UnexpectedException, "Storm is not compiled with XML support");
STORM_LOG_THROW(false, storm::exceptions::UnexpectedException, "Storm is not compiled with XML support: " << filename << " can not be parsed");
#endif
}
}

2
src/storm/storage/dd/sylvan/InternalSylvanDdManager.cpp

@ -103,7 +103,7 @@ namespace storm {
return std::make_pair(first, second);
}
void InternalDdManager<DdType::Sylvan>::allowDynamicReordering(bool value) {
void InternalDdManager<DdType::Sylvan>::allowDynamicReordering(bool) {
STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Operation is not supported by sylvan.");
}

Loading…
Cancel
Save