diff options
Diffstat (limited to 'src/sp-clippath.cpp')
| -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) { |
