From 3daf8ebd95c3dba2966d7394333ef306abcb9d0b Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Mon, 7 Apr 2025 21:49:34 -0700 Subject: [PATCH] address cpplit and gcc warnings. Signed-off-by: Tomoya Fujita --- rmw_connextdds_common/src/common/rmw_type_support.cpp | 3 ++- rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rmw_connextdds_common/src/common/rmw_type_support.cpp b/rmw_connextdds_common/src/common/rmw_type_support.cpp index 8891fa89..80d9a486 100644 --- a/rmw_connextdds_common/src/common/rmw_type_support.cpp +++ b/rmw_connextdds_common/src/common/rmw_type_support.cpp @@ -12,8 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include #include + +#include #include #include "rcpputils/scope_exit.hpp" diff --git a/rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp b/rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp index f2535f71..ee3eb838 100644 --- a/rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp +++ b/rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp @@ -1045,6 +1045,11 @@ RMW_Connext_TypePlugin_serialized_sample_to_key_hash( RTIBool deserializeEncapsulation, void *endpointPluginQos) { + UNUSED_ARG(endpointData); + UNUSED_ARG(stream); + UNUSED_ARG(keyHash); + UNUSED_ARG(deserializeEncapsulation); + UNUSED_ARG(endpointPluginQos); return RTI_FALSE; }