diff --git a/source/kra/parser.d b/source/kra/parser.d index 4117b7e..d4230f3 100644 --- a/source/kra/parser.d +++ b/source/kra/parser.d @@ -135,7 +135,7 @@ void importAttributes(ref KRA kra, ref DOMEntity!string layerEntity) kra.layers ~= groupEnd; break; default: - assert(0, "Unsupported nodetype."); + break; } } @@ -315,7 +315,7 @@ void extractLayer(ref Layer layer, bool crop) bytesPerChannel = 2; break; default: - assert(0, "Unsupported colormode."); + break; } // array of indices representing pixel components