summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Pinon <vpinon@kde.org>2016-12-06 07:50:07 (GMT)
committerVincent Pinon <vpinon@kde.org>2016-12-06 07:50:07 (GMT)
commitd945f8737ad033cbd1047176f7bc631b2c8b262b (patch)
treef30b00663ea1525320150eb4de0c7756076aa482
parent388717238b03ca663187ec0e05209dcd0dfe5dfb (diff)
remove gcc warnings
-rw-r--r--src/bin/projectclip.cpp1
-rw-r--r--src/doc/kdenlivedoc.cpp2
-rw-r--r--src/project/dialogs/projectsettings.cpp2
-rw-r--r--src/timeline/clipitem.cpp2
-rw-r--r--src/timeline/timeline.cpp2
5 files changed, 4 insertions, 5 deletions
diff --git a/src/bin/projectclip.cpp b/src/bin/projectclip.cpp
index e23efe8..9dfda9c 100644
--- a/src/bin/projectclip.cpp
+++ b/src/bin/projectclip.cpp
@@ -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()) {
diff --git a/src/doc/kdenlivedoc.cpp b/src/doc/kdenlivedoc.cpp
index 412a607..8b266a9 100644
--- a/src/doc/kdenlivedoc.cpp
+++ b/src/doc/kdenlivedoc.cpp
@@ -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();
diff --git a/src/project/dialogs/projectsettings.cpp b/src/project/dialogs/projectsettings.cpp
index 2b7f3a6..783c77f 100644
--- a/src/project/dialogs/projectsettings.cpp
+++ b/src/project/dialogs/projectsettings.cpp
@@ -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)
diff --git a/src/timeline/clipitem.cpp b/src/timeline/clipitem.cpp
index 9b4dd7f..fac975a 100644
--- a/src/timeline/clipitem.cpp
+++ b/src/timeline/clipitem.cpp
@@ -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;
diff --git a/src/timeline/timeline.cpp b/src/timeline/timeline.cpp
index 3fdccc5..af1e8d0 100644
--- a/src/timeline/timeline.cpp
+++ b/src/timeline/timeline.cpp
@@ -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;