Remove a shadowed variable.

This variable (ecl_kw) was only needed in an inner scope and re-declared
there.
This commit is contained in:
Bård Skaflestad 2012-10-23 14:33:30 +02:00
parent 0efcf9e806
commit b334dbcdd8

View File

@ -112,7 +112,6 @@ static ecl_kw_type * loadFromcstdio( const std::string& filename , std::ios::pos
static bool convertKeyword( const std::string& inputFile , const std::string& outputPath , std::ifstream& is , FieldType fieldType , std::ofstream& os ) {
bool convert = true;
ecl_type_enum ecl_type;
ecl_kw_type * ecl_kw;
if (fieldType == Integer)
ecl_type = ECL_INT_TYPE;