Skip to content

Commit bc1b891

Browse files
committed
remove useless line of code
Signed-off-by: Miaofei <[email protected]>
1 parent 634d588 commit bc1b891

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rclcpp/src/rclcpp/node_interfaces/node_graph.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ get_info_by_topic(
411411
// global before local so that local overwrites global
412412
const rcl_arguments_t * global_args = nullptr;
413413
if (node_options->use_global_arguments) {
414-
auto context_ptr = node_base->get_context()->get_rcl_context();
415414
global_args = &(rcl_node_handle->context->global_arguments);
416415
}
417416

0 commit comments

Comments
 (0)