Skip to content

Commit

Permalink
Remove unnecessary break statements.
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
  • Loading branch information
xlietz committed Oct 7, 2019
1 parent e1ff97f commit 6337096
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions OpenEXR/IlmImf/ImfTileOffsets.cpp
Expand Up @@ -477,17 +477,14 @@ TileOffsets::operator () (int dx, int dy, int lx, int ly)
case ONE_LEVEL:

return _offsets[0][dy][dx];
break;

case MIPMAP_LEVELS:

return _offsets[lx][dy][dx];
break;

case RIPMAP_LEVELS:

return _offsets[lx + ly * _numXLevels][dy][dx];
break;

default:

Expand Down Expand Up @@ -517,17 +514,14 @@ TileOffsets::operator () (int dx, int dy, int lx, int ly) const
case ONE_LEVEL:

return _offsets[0][dy][dx];
break;

case MIPMAP_LEVELS:

return _offsets[lx][dy][dx];
break;

case RIPMAP_LEVELS:

return _offsets[lx + ly * _numXLevels][dy][dx];
break;

default:

Expand Down

0 comments on commit 6337096

Please sign in to comment.