From b8829a498ad2bbf0b1215ac3aab0faa1484e36f9 Mon Sep 17 00:00:00 2001 From: kminoda Date: Tue, 4 Jun 2024 21:22:38 +0900 Subject: [PATCH] finalize PR Signed-off-by: kminoda --- .github/workflows/cppcheck-differential.yaml | 3 +-- perception/lidar_centerpoint/lib/centerpoint_trt.cpp | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/cppcheck-differential.yaml b/.github/workflows/cppcheck-differential.yaml index fb8ad384f3885..fef435bd91f5f 100644 --- a/.github/workflows/cppcheck-differential.yaml +++ b/.github/workflows/cppcheck-differential.yaml @@ -43,8 +43,7 @@ jobs: files=$(cat changed_files.txt | grep -E '\.(cpp|hpp)$' || true) if [ -n "$files" ]; then echo "Running Cppcheck on changed files: $files" - cppcheck --enable=all --inconclusive --check-level=exhaustive --error-exitcode=1 $files 2> cppcheck-report.txt - # cppcheck --enable=all --inconclusive --check-level=exhaustive --error-exitcode=1 --suppressions-list=.cppcheck_suppressions $files 2> cppcheck-report.txt + cppcheck --enable=all --inconclusive --check-level=exhaustive --error-exitcode=1 --suppressions-list=.cppcheck_suppressions $files 2> cppcheck-report.txt else echo "No C++ files changed." touch cppcheck-report.txt diff --git a/perception/lidar_centerpoint/lib/centerpoint_trt.cpp b/perception/lidar_centerpoint/lib/centerpoint_trt.cpp index b2b456b12da50..2804e172b73fa 100644 --- a/perception/lidar_centerpoint/lib/centerpoint_trt.cpp +++ b/perception/lidar_centerpoint/lib/centerpoint_trt.cpp @@ -86,8 +86,6 @@ void CenterPointTRT::initPtr() // host points_.resize(CAPACITY_POINT * config_.point_feature_size_); - int hoge = 1; - // device voxels_d_ = cuda::make_unique(voxels_size_); coordinates_d_ = cuda::make_unique(coordinates_size_);