From: joncruz Date: Sun, 4 Mar 2007 22:53:48 +0000 (+0000) Subject: Warning cleanup of unused variables X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d1c6a836515ef3ec3db11fc3b92162671c17854;p=inkscape.git Warning cleanup of unused variables --- diff --git a/src/flood-context.cpp b/src/flood-context.cpp index e8c5f8f38..35e053fe0 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -622,8 +622,6 @@ static gint sp_flood_context_item_handler(SPEventContext *event_context, SPItem static gint sp_flood_context_root_handler(SPEventContext *event_context, GdkEvent *event) { - SPDesktop *desktop = event_context->desktop; - gint ret = FALSE; switch (event->type) { case GDK_BUTTON_PRESS: diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 91afd8db1..f73bc2600 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -417,7 +417,6 @@ sp_item_group_ungroup (SPGroup *group, GSList **children, bool do_done) } /* Step 4 - add items */ - gint const preserve = prefs_get_int_attribute("options.preservetransform", "value", 0); while (items) { Inkscape::XML::Node *repr = (Inkscape::XML::Node *) items->data; // add item