Commit 232d0548 authored by Manuel Grizonnet's avatar Manuel Grizonnet

WRG: avoid unreferenced local variable on msvc

parent 5bb7ecf8
...@@ -201,6 +201,8 @@ private: ...@@ -201,6 +201,8 @@ private:
} }
catch(itk::ExceptionObject& err) catch(itk::ExceptionObject& err)
{ {
//trick to prevent unreferenced local variable warning on MSVC
(void)err;
// silent catch // silent catch
useContext = false; useContext = false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment