From 89cec03d07a1496a225751159cbc7bfb529d9dd1 Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Thu, 4 Jul 2024 18:18:40 +0200 Subject: [PATCH] Remove dead code. --- r2r/src/nodes.rs | 1 - r2r/src/services.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/r2r/src/nodes.rs b/r2r/src/nodes.rs index f8404f750..7610535fd 100644 --- a/r2r/src/nodes.rs +++ b/r2r/src/nodes.rs @@ -669,7 +669,6 @@ impl Node { let ws = TypedService:: { rcl_handle: service_handle, - outstanding_requests: vec![], sender, }; diff --git a/r2r/src/services.rs b/r2r/src/services.rs index a97f34343..e4fd8c846 100644 --- a/r2r/src/services.rs +++ b/r2r/src/services.rs @@ -1,4 +1,4 @@ -use futures::channel::{mpsc, oneshot}; +use futures::channel::mpsc; use std::{ ffi::CString, mem::MaybeUninit, @@ -57,7 +57,6 @@ where { pub rcl_handle: rcl_service_t, pub sender: mpsc::Sender>, - pub outstanding_requests: Vec>, } impl Service_ for TypedService