Commit d945f873 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

remove gcc warnings

parent 38871723
......@@ -851,7 +851,6 @@ void ProjectClip::doExtractIntra()
Mlt::Producer *prod = thumbProducer();
if (prod == NULL || !prod->is_valid()) return;
int fullWidth = 150 * prod->profile()->dar() + 0.5;
double dar = prod->profile()->dar();
int max = prod->get_length();
int pos;
while (!m_intraThumbs.isEmpty()) {
......
......@@ -752,7 +752,7 @@ void KdenliveDoc::setProjectFolder(QUrl url)
updateProjectFolderPlacesEntry();
}
void KdenliveDoc::moveProjectData(const QString &src, const QString &dest)
void KdenliveDoc::moveProjectData(const QString &/*src*/, const QString &dest)
{
// Move proxies
QList <ClipController*> list = pCore->binController()->getControllerList();
......
......@@ -57,7 +57,7 @@ class NoEditDelegate: public QStyledItemDelegate {
}
};
ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap <QString, QString> metadata, const QStringList &lumas, int videotracks, int audiotracks, const QString &projectPath, bool readOnlyTracks, bool savedProject, QWidget * parent) :
ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap <QString, QString> metadata, const QStringList &lumas, int videotracks, int audiotracks, const QString &/*projectPath*/, bool readOnlyTracks, bool savedProject, QWidget * parent) :
QDialog(parent)
,m_savedProject(savedProject)
,m_lumas(lumas)
......
......@@ -1823,7 +1823,7 @@ QMap<int, QDomElement> ClipItem::adjustEffectsToDuration(const ItemInfo &oldInfo
}
bool ClipItem::updateAnimatedKeyframes(int ix, QDomElement parameter, const ItemInfo &oldInfo)
bool ClipItem::updateAnimatedKeyframes(int /*ix*/, QDomElement parameter, const ItemInfo &oldInfo)
{
int in = cropStart().frames(m_fps);
int out = (cropStart() + cropDuration()).frames(m_fps) - 1;
......
......@@ -1710,7 +1710,7 @@ bool Timeline::createOverlay(Mlt::Filter *filter, int tk, int startPos)
return true;
}
bool Timeline::createRippleWindow(int tk, int startPos, OperationType mode)
bool Timeline::createRippleWindow(int tk, int startPos, OperationType /*mode*/)
{
if (m_hasOverlayTrack) {
return true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment