summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 12:52:50 +0200
committerJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 12:52:50 +0200
commita1b928e2ec341ae961d18089b87d81601ef7bdf9 (patch)
treebd17e2dd77f89308bb93b093b7eba841cde953c6
parent019a681da254dcc26d95892f261cbf40e3ba6ffa (diff)
Fixed unused variable/member warnings
-rw-r--r--src/library/browse/browsefeature.cpp1
-rw-r--r--src/util/threadcputimer.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/library/browse/browsefeature.cpp b/src/library/browse/browsefeature.cpp
index df04e097e2..f866e150d1 100644
--- a/src/library/browse/browsefeature.cpp
+++ b/src/library/browse/browsefeature.cpp
@@ -95,7 +95,6 @@ BrowseFeature::BrowseFeature(
if (display_path.endsWith("/")) {
display_path.chop(1);
}
- TreeItem* driveLetter =
devices_link->appendChild(
display_path, // Displays C:
drive.filePath()); // Displays C:/
diff --git a/src/util/threadcputimer.h b/src/util/threadcputimer.h
index 6a5a569fc1..c93ec6605f 100644
--- a/src/util/threadcputimer.h
+++ b/src/util/threadcputimer.h
@@ -9,6 +9,8 @@ class ThreadCpuTimer {
mixxx::Duration elapsed() const;
mixxx::Duration restart();
private:
+#if defined(Q_OS_UNIX)
qint64 t1;
qint64 t2;
+#endif
};