summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-25 19:54:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-25 19:54:02 (GMT)
commit1e459a94523e5cc71c21ce1a31645d174c1fabe3 (patch)
tree8b237e01414bc4952769caf6bb3bd264646a7e0a /Swiften
parent381f054a2df50028f6fb59e0173414a415134b9c (diff)
downloadswift-contrib-1e459a94523e5cc71c21ce1a31645d174c1fabe3.zip
swift-contrib-1e459a94523e5cc71c21ce1a31645d174c1fabe3.tar.bz2
Added 'assertions' scons flag.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp
index 5331964..530e066 100644
--- a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp
+++ b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp
@@ -23,6 +23,7 @@ BonjourQuerier::BonjourQuerier(EventLoop* eventLoop) : eventLoop(eventLoop), sto
int fds[2];
int result = pipe(fds);
assert(result == 0);
+ (void) result;
interruptSelectReadSocket = fds[0];
fcntl(interruptSelectReadSocket, F_SETFL, fcntl(interruptSelectReadSocket, F_GETFL)|O_NONBLOCK);
interruptSelectWriteSocket = fds[1];