Various: Remove unused variables (#467)

Several data members and local variables were flagged by static
analysis tools as never being used anywhere in the code.
This commit is contained in:
Frank Dana
2020-04-22 02:02:55 -04:00
committed by GitHub
parent f36bb334e2
commit 6336f30ee3
14 changed files with 9 additions and 27 deletions

View File

@@ -228,7 +228,7 @@ std::shared_ptr<Frame> CacheDisk::GetFrame(int64_t frame_number)
// Load image file
std::shared_ptr<QImage> image = std::shared_ptr<QImage>(new QImage());
bool success = image->load(QString::fromStdString(frame_path.toStdString()));
image->load(frame_path);
// Set pixel formatimage->
image = std::shared_ptr<QImage>(new QImage(image->convertToFormat(QImage::Format_RGBA8888)));