Removed unneccessary close

This commit is contained in:
Robert Osfield
2016-06-28 09:21:30 +01:00
parent 9253ea845b
commit 6937a8fcd3
3 changed files with 21 additions and 5 deletions

View File

@@ -25,7 +25,6 @@ ESRIShapeParser::ESRIShapeParser( const std::string fileName, bool useDouble ):
if( (fd = open( fileName.c_str(), O_RDONLY )) <= 0 )
#endif
{
if (fd) close ( fd );
perror( fileName.c_str() );
return ;
}