aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/RoarOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-23 23:29:56 +0200
committerMax Kellermann <max@duempel.org>2014-10-23 23:29:56 +0200
commitb07bddf742ee36d30828efd5bd80c9dee33e1bc4 (patch)
tree006f2329e434855f12f247d586c497cd6615ea1f /src/output/plugins/RoarOutputPlugin.cxx
parent220f957cd8fb7f0c91e1bb39a50fa3829b28394a (diff)
downloadmpd-b07bddf742ee36d30828efd5bd80c9dee33e1bc4.tar.gz
mpd-b07bddf742ee36d30828efd5bd80c9dee33e1bc4.tar.xz
mpd-b07bddf742ee36d30828efd5bd80c9dee33e1bc4.zip
output/roar: remove unnecessary "volatile" keyword
A mutex acts as a memory barrier, and thus "volatile" is not necessary.
Diffstat (limited to '')
-rw-r--r--src/output/plugins/RoarOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/RoarOutputPlugin.cxx b/src/output/plugins/RoarOutputPlugin.cxx
index 508e147f0..aa37c91b7 100644
--- a/src/output/plugins/RoarOutputPlugin.cxx
+++ b/src/output/plugins/RoarOutputPlugin.cxx
@@ -46,7 +46,7 @@ class RoarOutput {
struct roar_connection con;
struct roar_audio_info info;
mutable Mutex mutex;
- volatile bool alive;
+ bool alive;
public:
RoarOutput()