From 48498869f98ac30dbbe560e2d02a663b7027d684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 20 Mar 2008 11:06:41 +0000 Subject: [PATCH] Small cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24488 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp b/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp index 8c02ff7ee6..fe8e521f8a 100644 --- a/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp +++ b/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp @@ -360,7 +360,6 @@ SVGExporter::_ExportShape(const Shape* shape, BPositionIO* stream) status_t SVGExporter::_ExportGradient(const Gradient* gradient, BPositionIO* stream) { - status_t ret = B_OK; BString helper; // start new gradient tag @@ -435,11 +434,7 @@ SVGExporter::_ExportGradient(const Gradient* gradient, BPositionIO* stream) helper << " \n"; } - if (ret >= B_OK) { - ret = write_line(stream, helper); - } - - return ret; + return write_line(stream, helper); } // _AppendMatrix