Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit ac07d16

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused variables in glow/glow/lib/Runtime/HostManager/HostManager.cpp
Reviewed By: dmm-fb Differential Revision: D52981031 fbshipit-source-id: 65b26a1caa2253ffbb2c1a38c9cd3e14ffeb8c8c
1 parent d4250ef commit ac07d16

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Runtime/HostManager/HostManager.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,6 @@ Error HostManager::runNetworkBlocking(
901901
}
902902

903903
void HostManager::dispatchNextRun() {
904-
int requestId = -1;
905904
llvm::Optional<InferRequest> pRequest;
906905
std::shared_lock<std::shared_timed_mutex> networkLock(networkLock_);
907906
{
@@ -913,7 +912,6 @@ void HostManager::dispatchNextRun() {
913912
// provides a const ref to the top element, since we need to move
914913
// it we first cast it to remove the const.
915914
pRequest = std::move(const_cast<InferRequest &>(inferQueue_.top()));
916-
requestId = static_cast<int>(pRequest->requestID);
917915
inferQueue_.pop();
918916
} else {
919917
// Decrement the activeRequest counter so new requests can

0 commit comments

Comments
 (0)