Skip to content

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.

2 participants