Fixes some unused variable warnings.

This commit is contained in:
Markus Blatt 2015-01-23 20:58:37 +01:00
parent 6c25e04c9f
commit fefd52a8be
2 changed files with 6 additions and 6 deletions

View File

@ -321,7 +321,7 @@ public:
void addRestartFileZwelData(std::vector<const char*>& zwel_data, size_t currentstep, WellConstPtr well_ptr) const {
void addRestartFileZwelData(std::vector<const char*>& zwel_data, size_t /* currentstep */, WellConstPtr well_ptr) const {
zwel_data.reserve(zwel_data.size() + Opm::EclipseWriterDetails::Restart::NZWELZ);
zwel_data.push_back(well_ptr->name().c_str());
@ -370,7 +370,7 @@ public:
ecl_rst_file_close(restartFileHandle_);
}
void writeHeader(const SimulatorTimerInterface& timer,
void writeHeader(const SimulatorTimerInterface& /*timer*/,
int writeStepIdx,
ecl_rsthead_type * rsthead_data)
{
@ -751,7 +751,7 @@ public:
"SM3/DAY" /* surf. cub. m. per day */)
{ }
virtual double retrieveValue(const int writeStepIdx,
virtual double retrieveValue(const int /* writeStepIdx */,
const SimulatorTimerInterface& timer,
const WellState& wellState,
const std::map<std::string, int>& wellNameToIdxMap)
@ -856,7 +856,7 @@ public:
"Pascal")
{ }
virtual double retrieveValue(const int writeStepIdx,
virtual double retrieveValue(const int /* writeStepIdx */,
const SimulatorTimerInterface& timer,
const WellState& wellState,
const std::map<std::string, int>& wellNameToIdxMap)

View File

@ -189,7 +189,7 @@ namespace Opm
void PvtDeadSpline::b(const int n,
const int* pvtTableIdx,
const double* p,
const double* T,
const double* /* T */,
const double* /*r*/,
double* output_b,
double* output_dbdp,
@ -207,7 +207,7 @@ namespace Opm
void PvtDeadSpline::b(const int n,
const int* pvtTableIdx,
const double* p,
const double* T,
const double* /* T */,
const double* /*r*/,
const PhasePresence* /*cond*/,
double* output_b,