Skip to content

Commit d7e41da

Browse files
committed
remove unused vardecl
1 parent 2316a02 commit d7e41da

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/viam/sdk/rpc/dial.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ std::shared_ptr<ViamChannel> ViamChannel::dial(const char* uri,
179179
address += socket_path;
180180
const std::shared_ptr<grpc::Channel> channel =
181181
sdk::impl::create_viam_channel(address, grpc::InsecureChannelCredentials());
182-
const std::unique_ptr<viam::robot::v1::RobotService::Stub> st =
183-
viam::robot::v1::RobotService::NewStub(channel);
184182
return std::make_shared<ViamChannel>(channel, socket_path, ptr);
185183
}
186184

0 commit comments

Comments
 (0)