From ab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 14 Dec 2014 15:20:40 +0100 Subject: lib/nfs/Connection: make in_service and in_event debug-only flags --- src/lib/nfs/Connection.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/nfs/Connection.hxx') 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; -- cgit v1.2.3