Skip to content

fix using uninitialized CMake variables#145

Merged
dirk-thomas merged 1 commit intomasterfrom
fix_uninitialized_var
Jul 10, 2018
Merged

fix using uninitialized CMake variables#145
dirk-thomas merged 1 commit intomasterfrom
fix_uninitialized_var

Conversation

@dirk-thomas
Copy link
Copy Markdown
Contributor

Otherwise being flagged when invoking with --warn-uninitialized.

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Jul 10, 2018
@dirk-thomas dirk-thomas self-assigned this Jul 10, 2018
Copy link
Copy Markdown
Contributor

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

lgtm

@dirk-thomas dirk-thomas merged commit 7ae01f1 into master Jul 10, 2018
@dirk-thomas dirk-thomas deleted the fix_uninitialized_var branch July 10, 2018 23:51
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jul 10, 2018
if(NOT "${_AMENT_CMAKE_ENVIRONMENT_HOOKS_${extension}}" STREQUAL "")
if(
DEFINED _AMENT_CMAKE_ENVIRONMENT_HOOKS_${extension} AND
NOT "${_AMENT_CMAKE_ENVIRONMENT_HOOKS_${extension}}" STREQUAL ""
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This part of the condition is redundant. Removed in 6d171d7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants