diff --git a/src/lib/sw_engine/tvgSwShape.cpp b/src/lib/sw_engine/tvgSwShape.cpp index 29f55908..ca5548c5 100644 --- a/src/lib/sw_engine/tvgSwShape.cpp +++ b/src/lib/sw_engine/tvgSwShape.cpp @@ -594,10 +594,6 @@ bool shapeGenStrokeRle(SwShape* shape, const Shape* sdata, const Matrix* transfo } strokeOutline = strokeExportOutline(shape->stroke, mpool, tid); - if (!strokeOutline) { - ret = false; - goto fail; - } if (!mathUpdateOutlineBBox(strokeOutline, clipRegion, renderRegion, false)) { ret = false;