You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
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:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user