From c9114451444dc033b24a47e818ee9f81d7687c0f Mon Sep 17 00:00:00 2001 From: Miaofei Date: Fri, 7 Feb 2020 02:38:01 -0800 Subject: [PATCH] remove useless line of code Signed-off-by: Miaofei --- rclcpp/src/rclcpp/node_interfaces/node_graph.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rclcpp/src/rclcpp/node_interfaces/node_graph.cpp b/rclcpp/src/rclcpp/node_interfaces/node_graph.cpp index bca5d1770c..675d2d3af0 100644 --- a/rclcpp/src/rclcpp/node_interfaces/node_graph.cpp +++ b/rclcpp/src/rclcpp/node_interfaces/node_graph.cpp @@ -411,7 +411,6 @@ get_info_by_topic( // global before local so that local overwrites global const rcl_arguments_t * global_args = nullptr; if (node_options->use_global_arguments) { - auto context_ptr = node_base->get_context()->get_rcl_context(); global_args = &(rcl_node_handle->context->global_arguments); }