Removed unneccessary close
This commit is contained in:
@@ -162,7 +162,6 @@ load_md2 (const char *filename, const osgDB::ReaderWriter::Options* options)
|
||||
|
||||
file_fd = open (filename, O_RDONLY);
|
||||
if (file_fd <= 0) {
|
||||
close (file_fd);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user