diff --git a/components/resource/scenemanager.cpp b/components/resource/scenemanager.cpp index 64128ae302..8ca6c8214b 100644 --- a/components/resource/scenemanager.cpp +++ b/components/resource/scenemanager.cpp @@ -539,7 +539,6 @@ namespace Resource if (mVFS->exists(normalized)) { Log(Debug::Error) << "Failed to load '" << name << "': " << e.what() << ", using marker_error." << sMeshTypes[i] << " instead"; - Files::IStreamPtr file = mVFS->get(normalized); loaded = load(normalized, mVFS, mImageManager, mNifFileManager); break; }