aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-14 15:20:40 +0100
committerMax Kellermann <max@duempel.org>2014-12-14 15:20:40 +0100
commitab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d (patch)
tree40767dd1ac991b5fa12ed4b5aac396575300bc14 /src/lib/nfs/Connection.hxx
parent4b8d258cff85678c7ac90c03e337f9316e1f7b98 (diff)
downloadmpd-ab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d.tar.gz
mpd-ab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d.tar.xz
mpd-ab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d.zip
lib/nfs/Connection: make in_service and in_event debug-only flags
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r--src/lib/nfs/Connection.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index aebafd4d3..e63782931 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -111,6 +111,7 @@ class NfsConnection : SocketMonitor, DeferredMonitor {
Error postponed_mount_error;
+#ifndef NDEBUG
/**
* True when nfs_service() is being called.
*/
@@ -121,6 +122,7 @@ class NfsConnection : SocketMonitor, DeferredMonitor {
* event updates are omitted.
*/
bool in_event;
+#endif
bool mount_finished;