aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-14 15:40:29 +0100
committerMax Kellermann <max@duempel.org>2014-12-14 15:40:29 +0100
commit32bca6492034eefee1acb5c71a01a0481ba03245 (patch)
tree2f1bb3c0009caf45e6360c7f8a87d8955fec83d7 /src
parent7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023 (diff)
downloadmpd-32bca6492034eefee1acb5c71a01a0481ba03245.tar.gz
mpd-32bca6492034eefee1acb5c71a01a0481ba03245.tar.xz
mpd-32bca6492034eefee1acb5c71a01a0481ba03245.zip
lib/nfs/Connection: add assertions
Diffstat (limited to 'src')
-rw-r--r--src/lib/nfs/Connection.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx
index 433d49ecf..cae9ff102 100644
--- a/src/lib/nfs/Connection.cxx
+++ b/src/lib/nfs/Connection.cxx
@@ -380,6 +380,8 @@ NfsConnection::DeferClose(struct nfsfh *fh)
assert(GetEventLoop().IsInside());
assert(in_event);
assert(in_service);
+ assert(context != nullptr);
+ assert(fh != nullptr);
deferred_close.push_front(fh);
}