Skip to content

Commit a475c70

Browse files
authored
address cpplit and gcc warnings. (#184)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent 93baabf commit a475c70

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

rmw_connextdds_common/src/common/rmw_type_support.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <exception>
1615
#include <string.h>
16+
17+
#include <exception>
1718
#include <string>
1819

1920
#include "rcpputils/scope_exit.hpp"

rmw_connextdds_common/src/ndds/rmw_type_support_ndds.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,11 @@ RMW_Connext_TypePlugin_serialized_sample_to_key_hash(
10451045
RTIBool deserializeEncapsulation,
10461046
void *endpointPluginQos)
10471047
{
1048+
UNUSED_ARG(endpointData);
1049+
UNUSED_ARG(stream);
1050+
UNUSED_ARG(keyHash);
1051+
UNUSED_ARG(deserializeEncapsulation);
1052+
UNUSED_ARG(endpointPluginQos);
10481053
return RTI_FALSE;
10491054
}
10501055

0 commit comments

Comments
 (0)