diff options
| -rw-r--r-- | dmagick/DrawingContext.d | 1 | ||||
| -rw-r--r-- | dmagick/Exception.d | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d index 78bbba7..1d9a285 100644 --- a/dmagick/DrawingContext.d +++ b/dmagick/DrawingContext.d @@ -302,7 +302,6 @@ class DrawingContext case DecorationType.UndefinedDecoration: throw new DrawException("Undefined Decoration"); - break; } } diff --git a/dmagick/Exception.d b/dmagick/Exception.d index af3011f..269d4dd 100644 --- a/dmagick/Exception.d +++ b/dmagick/Exception.d @@ -69,10 +69,8 @@ class DMagickException : Exception exceptions ~= "case ExceptionType."~ severity ~"Error: throw new "~ severity ~"Exception(reason, description, file, line); - break; case ExceptionType."~ severity ~"FatalError: - throw new "~ severity ~"Error(reason, description, file, line); - break;"; + throw new "~ severity ~"Error(reason, description, file, line);"; } return exceptions ~= |
