aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:47:52 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:47:52 -0500
commitdda9044eb9740ca995139711cd8318815bf88e2a (patch)
treef4f6a886ff8831851885a2d9f0de8945dcea3794 /src/snap.cpp
parent90debef5ca85c6a51cf85d6f6b9d402ff5077b0b (diff)
downloadayatana-indicator-datetime-dda9044eb9740ca995139711cd8318815bf88e2a.tar.gz
ayatana-indicator-datetime-dda9044eb9740ca995139711cd8318815bf88e2a.tar.bz2
ayatana-indicator-datetime-dda9044eb9740ca995139711cd8318815bf88e2a.zip
fix clang++ warning about unused private field in snap.cpp's Sound class
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index 25632e9..4a19d6e 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -60,7 +60,6 @@ public:
m_clock(clock),
m_filename(filename),
m_volume(volume),
- m_duration_minutes(duration_minutes),
m_loop(loop),
m_canberra_id(get_next_canberra_id()),
m_loop_end_time(clock->localtime().add_full(0, 0, 0, 0, duration_minutes, 0.0))
@@ -184,7 +183,6 @@ private:
const std::shared_ptr<Clock> m_clock;
const std::string m_filename;
const AlarmVolume m_volume;
- const int m_duration_minutes;
const bool m_loop;
const int32_t m_canberra_id;
const DateTime m_loop_end_time;