Removed unused variable

pull/585/head
Marvin Pohl 2015-06-19 14:24:34 +01:00
parent 927c9cb3ce
commit ff145bfac5
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ void FBXImporter::InternReadFile( const std::string& pFile,
// streaming input data would be very low. // streaming input data would be very low.
std::vector<char> contents; std::vector<char> contents;
contents.resize(stream->FileSize()+1); contents.resize(stream->FileSize()+1);
size_t readcnt = stream->Read( &*contents.begin(), 1, contents.size()-1 ); stream->Read( &*contents.begin(), 1, contents.size()-1 );
contents[ contents.size() - 1 ] = 0; contents[ contents.size() - 1 ] = 0;
const char* const begin = &*contents.begin(); const char* const begin = &*contents.begin();