Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dahl committed Jul 4, 2024
1 parent cae671c commit 89cec03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion r2r/src/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,6 @@ impl Node {

let ws = TypedService::<T> {
rcl_handle: service_handle,
outstanding_requests: vec![],
sender,
};

Expand Down
3 changes: 1 addition & 2 deletions r2r/src/services.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use futures::channel::{mpsc, oneshot};
use futures::channel::mpsc;
use std::{
ffi::CString,
mem::MaybeUninit,
Expand Down Expand Up @@ -57,7 +57,6 @@ where
{
pub rcl_handle: rcl_service_t,
pub sender: mpsc::Sender<ServiceRequest<T>>,
pub outstanding_requests: Vec<oneshot::Receiver<(rmw_request_id_t, T::Response)>>,
}

impl<T: 'static> Service_ for TypedService<T>
Expand Down

0 comments on commit 89cec03

Please sign in to comment.