diff options
Diffstat (limited to 'GudhUI/utils/Vertex_collapsor.h')
-rw-r--r-- | GudhUI/utils/Vertex_collapsor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/GudhUI/utils/Vertex_collapsor.h b/GudhUI/utils/Vertex_collapsor.h index 2b36cb3a..568dab2f 100644 --- a/GudhUI/utils/Vertex_collapsor.h +++ b/GudhUI/utils/Vertex_collapsor.h @@ -81,6 +81,7 @@ template<typename SkBlComplex> class Vertex_collapsor { if (link.is_cone()) return true; if (link.num_connected_components() > 1) return false; Edge_contractor<Complex> contractor(link, link.num_vertices() - 1); + (void)contractor; return (link.num_vertices() == 1); } }; |