summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controllers/controllerinputmappingtablemodel.cpp1
-rw-r--r--src/controllers/controlleroutputmappingtablemodel.cpp1
-rw-r--r--src/controllers/controllerpresetfilehandler.cpp6
-rw-r--r--src/effects/lv2/lv2manifest.cpp2
-rw-r--r--src/library/browse/browsetablemodel.cpp1
-rw-r--r--src/library/crate/cratefeature.cpp1
-rw-r--r--src/musicbrainz/musicbrainzclient.cpp1
-rw-r--r--src/preferences/dialog/dlgprefdeck.cpp1
-rw-r--r--src/test/coverartutils_test.cpp1
9 files changed, 0 insertions, 15 deletions
diff --git a/src/controllers/controllerinputmappingtablemodel.cpp b/src/controllers/controllerinputmappingtablemodel.cpp
index 44e686132a..456e055630 100644
--- a/src/controllers/controllerinputmappingtablemodel.cpp
+++ b/src/controllers/controllerinputmappingtablemodel.cpp
@@ -183,7 +183,6 @@ QVariant ControllerInputMappingTableModel::data(const QModelIndex& index,
}
const MidiInputMapping& mapping = m_midiInputMappings.at(row);
- QString value;
switch (column) {
case MIDI_COLUMN_CHANNEL:
return MidiUtils::channelFromStatus(mapping.key.status);
diff --git a/src/controllers/controlleroutputmappingtablemodel.cpp b/src/controllers/controlleroutputmappingtablemodel.cpp
index eb2da9d606..7dc3756e41 100644
--- a/src/controllers/controlleroutputmappingtablemodel.cpp
+++ b/src/controllers/controlleroutputmappingtablemodel.cpp
@@ -151,7 +151,6 @@ QVariant ControllerOutputMappingTableModel::data(const QModelIndex& index,
}
const MidiOutputMapping& mapping = m_midiOutputMappings.at(row);
- QString value;
switch (column) {
case MIDI_COLUMN_CHANNEL:
return MidiUtils::channelFromStatus(mapping.output.status);
diff --git a/src/controllers/controllerpresetfilehandler.cpp b/src/controllers/controllerpresetfilehandler.cpp
index 52c77c96a5..f50b8bd1b2 100644
--- a/src/controllers/controllerpresetfilehandler.cpp
+++ b/src/controllers/controllerpresetfilehandler.cpp
@@ -32,12 +32,6 @@ ControllerPresetPointer ControllerPresetFileHandler::loadPreset(const QString& p
return ControllerPresetPointer();
}
- // TODO(XXX): This means filenames can't have .foo.midi.xml filenames. We
- // should regex match against the end.
- // NOTE(rryan): We prepend a dot because all the XXX_PRESET_EXTENSION
- // defines include the dot.
- QString extension = "." + scriptPathInfo.completeSuffix();
-
ControllerPresetFileHandler* pHandler = NULL;
if (scriptPath.endsWith(MIDI_PRESET_EXTENSION, Qt::CaseInsensitive)) {
pHandler = new MidiControllerPresetFileHandler();
diff --git a/src/effects/lv2/lv2manifest.cpp b/src/effects/lv2/lv2manifest.cpp
index b41915fe81..3607b394a9 100644
--- a/src/effects/lv2/lv2manifest.cpp
+++ b/src/effects/lv2/lv2manifest.cpp
@@ -42,12 +42,10 @@ LV2Manifest::LV2Manifest(const LilvPlugin* plug,
audioPortIndices.append(i);
inputPorts++;
info = lilv_port_get_name(m_pLV2plugin, port);
- QString paramName = lilv_node_as_string(info);
} else if (lilv_port_is_a(m_pLV2plugin, port, properties["output_port"])) {
audioPortIndices.append(i);
outputPorts++;
info = lilv_port_get_name(m_pLV2plugin, port);
- QString paramName = lilv_node_as_string(info);
}
}
diff --git a/src/library/browse/browsetablemodel.cpp b/src/library/browse/browsetablemodel.cpp
index 12856dd390..085bc61810 100644
--- a/src/library/browse/browsetablemodel.cpp
+++ b/src/library/browse/browsetablemodel.cpp
@@ -298,7 +298,6 @@ Qt::ItemFlags BrowseTableModel::flags(const QModelIndex &index) const {
// waveform widget to load a track into a Player).
defaultFlags |= Qt::ItemIsDragEnabled;
- QString track_location = getTrackLocation(index);
int column = index.column();
switch (column) {
diff --git a/src/library/crate/cratefeature.cpp b/src/library/crate/cratefeature.cpp
index f201115fcb..0dd77ffaa8 100644
--- a/src/library/crate/cratefeature.cpp
+++ b/src/library/crate/cratefeature.cpp
@@ -722,7 +722,6 @@ void CrateFeature::slotExportPlaylist() {
ConfigKey("[Library]", "UseRelativePathOnExport"));
// Create list of files of the crate
- QList<QString> playlist_items;
// Create a new table model since the main one might have an active search.
QScopedPointer<CrateTableModel> pCrateTableModel(
new CrateTableModel(this, m_pLibrary->trackCollections()));
diff --git a/src/musicbrainz/musicbrainzclient.cpp b/src/musicbrainz/musicbrainzclient.cpp
index 8341c048b6..a7027c4efd 100644
--- a/src/musicbrainz/musicbrainzclient.cpp
+++ b/src/musicbrainz/musicbrainzclient.cpp
@@ -136,7 +136,6 @@ void MusicBrainzClient::replyFinished() {
QString message = jsonObject["error"].toString();
QStringList propertyNames;
QStringList propertyKeys;
- QString strReply = (QString)reply->readAll();
emit networkError(
reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(),
"MusicBrainz", message, kDefaultErrorCode);
diff --git a/src/preferences/dialog/dlgprefdeck.cpp b/src/preferences/dialog/dlgprefdeck.cpp
index af130ff125..e6c2ced3be 100644
--- a/src/preferences/dialog/dlgprefdeck.cpp
+++ b/src/preferences/dialog/dlgprefdeck.cpp
@@ -115,7 +115,6 @@ DlgPrefDeck::DlgPrefDeck(QWidget * parent, MixxxMainWindow * mixxx,
this,
&DlgPrefDeck::slotTimeFormatChanged);
- QLocale locale;
// Track Display model
comboBoxTimeFormat->clear();
diff --git a/src/test/coverartutils_test.cpp b/src/test/coverartutils_test.cpp
index 9282176c97..2f93c469c3 100644
--- a/src/test/coverartutils_test.cpp
+++ b/src/test/coverartutils_test.cpp
@@ -50,7 +50,6 @@ class CoverArtUtilTest : public LibraryTest, public CoverArtCache {
};
TEST_F(CoverArtUtilTest, extractEmbeddedCover) {
- QImage cover;
QImage referencePNGImage = QImage(kReferencePNGLocationTest);
QImage referenceJPGImage = QImage(kReferenceJPGLocationTest);