diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2017-05-31 19:21:51 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2017-05-31 19:21:51 +0000 |
| commit | 4e4f45e65c6cfca497972e996a57c2503e3bf4ce (patch) | |
| tree | 7574af84ddbf47559b4ee3b2382422fceba4c62f /src | |
| parent | Update to trunk (diff) | |
| download | inkscape-4e4f45e65c6cfca497972e996a57c2503e3bf4ce.tar.gz inkscape-4e4f45e65c6cfca497972e996a57c2503e3bf4ce.zip | |
Remove silly code ;)
(bzr r15714)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-clippath.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp index b26a2cbf2..1829837d8 100644 --- a/src/sp-clippath.cpp +++ b/src/sp-clippath.cpp @@ -227,19 +227,13 @@ void SPClipPath::hide(unsigned int key) { SP_ITEM(&child)->invoke_hide(key); } } - bool no_clippathview = true; for (SPClipPathView *v = display; v != NULL; v = v->next) { - no_clippathview = false; if (v->key == key) { /* We simply unref and let item to manage this in handler */ display = sp_clippath_view_list_remove(display, v); return; } } - if (no_clippathview) { - return; - } - g_assert_not_reached(); } void SPClipPath::setBBox(unsigned int key, Geom::OptRect const &bbox) { |
