Added initialize of version number
This commit is contained in:
@@ -758,7 +758,7 @@ class ReaderWriterATTR : public osgDB::ReaderWriter
|
||||
std::string fileName = osgDB::findDataFile( file, options );
|
||||
if (fileName.empty()) return ReadResult::FILE_NOT_FOUND;
|
||||
|
||||
int version;
|
||||
int version = 0;
|
||||
|
||||
// Check the options string for the OpenFlight file version
|
||||
if (options)
|
||||
|
||||
Reference in New Issue
Block a user