Skip to content

Commit d42165a

Browse files
author
Javier Gil Aviles
committed
Refs 21358: Apply seconds review changes
Signed-off-by: Javier Gil Aviles <javiergil@eprosima.com>
1 parent f43188b commit d42165a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/reusable-ubuntu-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,9 @@ jobs:
861861
with:
862862
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta
863863
colcon_build_args: '${{ inputs.colcon-args }} --packages-up-to fastdds'
864-
cmake_args: '-DEPROSIMA_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-Wnull-dereference" -DSECURITY=ON -DFASTDDS_STATISTICS ${{ inputs.cmake-args }}'
864+
cmake_args: '-DEPROSIMA_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-Wnull-dereference" -DSECURITY=ON -DFASTDDS_STATISTICS=ON ${{ inputs.cmake-args }}'
865865
cmake_args_default: ${{ env.colcon-build-default-cmake-args }}
866+
# Force to build with maximum compiler optimization to catch all 'null-dereference' errors
866867
cmake_build_type: Release
867868
workspace: ${{ github.workspace }}
868869

src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ struct FlowQueue
133133
return &tail == head.writer_info.next;
134134
}
135135

136-
#if defined(__GNUC__)
137-
# pragma GCC diagnostic pop
138-
#endif // if defined(__GNUC__)
139-
140136
void add_change(
141137
CacheChange_t* change) noexcept
142138
{

0 commit comments

Comments
 (0)