aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-16 13:11:11 +0200
committerStefan Boberg <[email protected]>2021-09-16 13:11:25 +0200
commit1983dc5f3292afa0b1b2b991428a91f111d34b8c (patch)
tree16989f2d7a335ee67e121b452676d8919c3c1b61 /zenserver-test/zenserver-test.cpp
parentFixed misleading comment for `CbAttachment::AsCompositeBinary` (diff)
downloadzen-1983dc5f3292afa0b1b2b991428a91f111d34b8c.tar.xz
zen-1983dc5f3292afa0b1b2b991428a91f111d34b8c.zip
Fixed some unreferenced variable warnings (why don't we get these in sln builds?). Also added size verification to certain payloads
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index 213648319..e68161ccf 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -194,6 +194,8 @@ private:
size_t rv = http_parser_execute(&m_HttpParser, &m_HttpParserSettings, (const char*)m_ResponseBuffer.data(), Bytes);
+ ZEN_UNUSED(rv);
+
if (m_HttpParser.http_errno != 0)
{
// Something bad!