Merge pull request #400 from bska/Wunused

Remove unused "typedef"s
This commit is contained in:
Atgeirr Flø Rasmussen 2013-10-03 06:52:09 -07:00
commit 8eca49cde2
4 changed files with 0 additions and 5 deletions

View File

@ -43,7 +43,6 @@ namespace Opm
void BlackoilPvtProperties::init(const EclipseGridParser& deck, const int samples) void BlackoilPvtProperties::init(const EclipseGridParser& deck, const int samples)
{ {
typedef std::vector<std::vector<std::vector<double> > > table_t;
// If we need multiple regions, this class and the SinglePvt* classes must change. // If we need multiple regions, this class and the SinglePvt* classes must change.
region_number_ = 0; region_number_ = 0;

View File

@ -37,7 +37,6 @@ namespace Opm
void PvtPropertiesIncompFromDeck::init(const EclipseGridParser& deck) void PvtPropertiesIncompFromDeck::init(const EclipseGridParser& deck)
{ {
typedef std::vector<std::vector<std::vector<double> > > table_t;
// If we need multiple regions, this class and the SinglePvt* classes must change. // If we need multiple regions, this class and the SinglePvt* classes must change.
int region_number = 0; int region_number = 0;

View File

@ -205,8 +205,6 @@ namespace Opm {
const int ndof = DofPerCell; const int ndof = DofPerCell;
const int ndof2 = ndof * ndof; const int ndof2 = ndof * ndof;
typedef std::vector<int>::size_type sz_t;
const double* J1 = &asm_buffer_[0]; const double* J1 = &asm_buffer_[0];
const double* J2 = J1 + ((1*nconn_ + 1) * ndof2); const double* J2 = J1 + ((1*nconn_ + 1) * ndof2);

View File

@ -593,7 +593,6 @@ namespace Opm {
NewtonIterate& it ) { NewtonIterate& it ) {
// Nothing to do at end of iteration in this model. // Nothing to do at end of iteration in this model.
(void) state; (void) g; (void) it; (void) state; (void) g; (void) it;
typedef typename NewtonIterate::vector_type vector_t;
} }
template <class Grid , template <class Grid ,