From 8640e3a8755e772cc7982a9d6f8a47c6ee0dae00 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 22 Jun 2011 03:07:58 -0700 Subject: Warning cleanup. (bzr r10339) --- src/sp-polyline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-polyline.cpp') diff --git a/src/sp-polyline.cpp b/src/sp-polyline.cpp index 705b9a10b..8dbed2a22 100644 --- a/src/sp-polyline.cpp +++ b/src/sp-polyline.cpp @@ -46,7 +46,7 @@ GType SPPolyLine::sp_polyline_get_type(void) void SPPolyLineClass::sp_polyline_class_init(SPPolyLineClass *klass) { - GObjectClass * gobject_class = (GObjectClass *) klass; + //GObjectClass * gobject_class = (GObjectClass *) klass; SPObjectClass * sp_object_class = (SPObjectClass *) klass; SPItemClass * item_class = (SPItemClass *) klass; @@ -134,7 +134,7 @@ void SPPolyLine::set(SPObject *object, unsigned int key, const gchar *value) Inkscape::XML::Node *SPPolyLine::write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { - SPPolyLine *polyline = SP_POLYLINE (object); + SP_POLYLINE(object); if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) { repr = xml_doc->createElement("svg:polyline"); -- cgit v1.2.3