Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
issakomi committed May 15, 2024
1 parent 8631e4a commit cf2622f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions common/commonutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3543,13 +3543,10 @@ QString CommonUtils::gen_itk_image(bool * ok,
// monochrome
if (pixelformat.GetSamplesPerPixel() == 1)
{
// INT12 and UINT12 can work only with some buggy encapsulated files,
// otherwise should not reach this point.
// INT12 and UINT12 should be already converted or don't reach this point
switch (pixelformat)
{
#if 1
case mdcm::PixelFormat::INT12:
#endif
case mdcm::PixelFormat::INT16:
{
bool bad_direction{true};
Expand All @@ -3572,9 +3569,7 @@ QString CommonUtils::gen_itk_image(bool * ok,
bad_direction);
}
break;
#if 1
case mdcm::PixelFormat::UINT12:
#endif
case mdcm::PixelFormat::UINT16:
{
bool bad_direction{true};
Expand Down

0 comments on commit cf2622f

Please sign in to comment.