diff options
| author | Stefan Boberg <[email protected]> | 2021-09-06 09:21:55 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-06 09:21:55 +0200 |
| commit | 39c0d92a05a3d75e4538750c06e51368b687e454 (patch) | |
| tree | 01fb8e24270ae878ae2c7d42ac7a829044a0e398 /zenserver-test/zenserver-test.cpp | |
| parent | Changed so function service commits compressed buffers (diff) | |
| parent | Added zenserver-test xmake file (diff) | |
| download | zen-39c0d92a05a3d75e4538750c06e51368b687e454.tar.xz zen-39c0d92a05a3d75e4538750c06e51368b687e454.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
| -rw-r--r-- | zenserver-test/zenserver-test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp index 8850e729e..008cae27e 100644 --- a/zenserver-test/zenserver-test.cpp +++ b/zenserver-test/zenserver-test.cpp @@ -88,6 +88,8 @@ public: void Get(const std::string_view Server, int Port, const std::string_view Path) { + ZEN_UNUSED(Port); + http_parser_init(&m_HttpParser, HTTP_RESPONSE); m_HttpParser.data = this; @@ -150,7 +152,7 @@ private: return 0; } int OnMessageBegin() { return 0; } - int OnBody(const char* Data, size_t Bytes) { return 0; } + int OnBody(const char* Data, size_t Bytes) { ZEN_UNUSED(Data, Bytes); return 0; } void OnConnected() { @@ -158,6 +160,7 @@ private: asio::async_write(m_Socket, asio::const_buffer(m_RequestBody.data(), m_RequestBody.size()), [this](const std::error_code& Error, size_t Bytes) { + ZEN_UNUSED(Bytes); if (Error) { return OnError(Error); |