aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-23 23:29:56 +0200
committerMax Kellermann <max@duempel.org>2014-11-02 11:50:56 +0100
commitc50a0cf7bf96a3eb2d49e5416dfe88dc86a589ef (patch)
tree8d9c7a5d6d653e7562fdaa6327b6a8945d9fd1fc
parentc37f7abb79b6c9f30a77ea605b18674acc5ffff2 (diff)
downloadmpd-c50a0cf7bf96a3eb2d49e5416dfe88dc86a589ef.tar.gz
mpd-c50a0cf7bf96a3eb2d49e5416dfe88dc86a589ef.tar.xz
mpd-c50a0cf7bf96a3eb2d49e5416dfe88dc86a589ef.zip
output/roar: remove unnecessary "volatile" keyword
A mutex acts as a memory barrier, and thus "volatile" is not necessary.
-rw-r--r--src/output/RoarOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/RoarOutputPlugin.cxx b/src/output/RoarOutputPlugin.cxx
index 895a165d1..20d69f3f9 100644
--- a/src/output/RoarOutputPlugin.cxx
+++ b/src/output/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()