diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-12-06 10:28:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-05 18:28:23 -0800 |
| commit | fa6d8717d02912697c09f2d7de802723ac6d6e47 (patch) | |
| tree | 65c3662b6cd47ffd56cc0b5727df31daf46f8c0e /tools/test-server | |
| parent | 1050e0eb96d6c8e7a6cfb253458155e1014625c3 (diff) | |
squash warnings (#3378)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/test-server')
| -rw-r--r-- | tools/test-server/test-server-main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp index b37f8b29f..9f7376556 100644 --- a/tools/test-server/test-server-main.cpp +++ b/tools/test-server/test-server-main.cpp @@ -117,7 +117,7 @@ SlangResult innerMain(StdWriters* stdWriters, slang::IGlobalSession* sharedSessi SLANG_RETURN_ON_FAIL(session->createCompileRequest(compileRequest.writeRef())); // Do any app specific configuration - for (int i = 0; i < SLANG_WRITER_CHANNEL_COUNT_OF; ++i) + for (int i = 0; i < int{SLANG_WRITER_CHANNEL_COUNT_OF}; ++i) { const auto channel = SlangWriterChannel(i); compileRequest->setWriter(channel, stdWriters->getWriter(channel)); @@ -504,6 +504,7 @@ SlangResult TestServer::execute() while (m_connection->isActive() && !m_quit) { // Failure doesn't make the execution terminate + [[maybe_unused]] const SlangResult res = _executeSingle(); } |
