diff options
author | Max Kellermann <max@duempel.org> | 2014-12-14 15:40:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-14 15:40:29 +0100 |
commit | 32bca6492034eefee1acb5c71a01a0481ba03245 (patch) | |
tree | 2f1bb3c0009caf45e6360c7f8a87d8955fec83d7 /src | |
parent | 7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023 (diff) | |
download | mpd-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.cxx | 2 |
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); } |