Skip to content

Removed warning#4693

Merged
MiguelCompany merged 2 commits intoeProsima:masterfrom
ahcorde:ahcorde/rolling/warning
Apr 18, 2024
Merged

Removed warning#4693
MiguelCompany merged 2 commits intoeProsima:masterfrom
ahcorde:ahcorde/rolling/warning

Conversation

@ahcorde
Copy link
Copy Markdown
Contributor

@ahcorde ahcorde commented Apr 17, 2024

There is a new warning on CI https://ci.ros2.org/view/packaging/job/packaging_linux/3405/clang-tidy/folder.112366245/

This should fix the warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Copy link
Copy Markdown
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also change the order of the comparisons in line 149 to first check for valid, and then check the pid

        if (!valid || (pid == PID_SENTINEL))

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from MiguelCompany April 17, 2024 12:18
@MiguelCompany MiguelCompany added the ci-pending PR which CI is running label Apr 17, 2024
@MiguelCompany MiguelCompany self-requested a review April 17, 2024 12:58
@MiguelCompany MiguelCompany added this to the v2.14.1 milestone Apr 17, 2024
@MiguelCompany
Copy link
Copy Markdown
Member

@richiprosima Please test this

@JesusPoderoso
Copy link
Copy Markdown
Contributor

It seems CI issues are unrelated to the PR.
Labeling it as ready to merge

@JesusPoderoso JesusPoderoso added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels Apr 18, 2024
@MiguelCompany MiguelCompany merged commit 8258507 into eProsima:master Apr 18, 2024
@MiguelCompany
Copy link
Copy Markdown
Member

It seems CI issues are unrelated to the PR. Labeling it as ready to merge

I should have labeled this as no-test.

Thanks for this @ahcorde !

@MiguelCompany
Copy link
Copy Markdown
Member

@Mergifyio backport 2.13.x 2.10.x 2.6.x

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 18, 2024

backport 2.13.x 2.10.x 2.6.x

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Apr 18, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)
mergify bot pushed a commit that referenced this pull request Apr 18, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)
mergify bot pushed a commit that referenced this pull request Apr 18, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)
EduPonz pushed a commit that referenced this pull request Apr 18, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
MiguelCompany pushed a commit that referenced this pull request Apr 19, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
MiguelCompany pushed a commit that referenced this pull request Apr 23, 2024
* Removed warning

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

* Added suggestions

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

---------

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 8258507)

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants