Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Remove unreachable code in Common\OpenCL, after itkExceptionMacro #449

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

N-Dekker
Copy link
Member

Removed the unreachable code after itkExceptionMacro calls (which throw an exception), from two cxx files in Common\OpenCL\ITKimprovements.

Fixed Visual C++ Warning Level 4 warning C4702, "unreachable code".

Removed the unreachable code after `itkExceptionMacro` calls (which throw an exception), from two cxx files in Common\OpenCL\ITKimprovements.

Fixed Visual C++ Warning Level 4 warning C4702, "unreachable code".
Comment on lines -107 to -109
delete this->m_FileStream;
this->m_FileStream = nullptr;
this->m_Created = false;
Copy link
Member Author

Choose a reason for hiding this comment

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

@dpshamonin Do you happen to know, should these three lines of code (starting with delete this->m_FileStream) be placed before, instead of after the itkExceptionMacro call?

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.

1 participant