Added initialize of version number

This commit is contained in:
Robert Osfield
2005-04-21 21:07:27 +00:00
parent 7182713dcf
commit 7f2ab883f5

View File

@@ -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)