From 6ea82bbe2a63a252ae8d96ef16eb57a73ab367f3 Mon Sep 17 00:00:00 2001 From: Clement Jamin Date: Thu, 9 Mar 2017 17:46:46 +0100 Subject: [PATCH] Unnecessary double "if" blocks --- Triangulation_3/include/CGAL/Triangulation_3.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Triangulation_3/include/CGAL/Triangulation_3.h b/Triangulation_3/include/CGAL/Triangulation_3.h index d8d1897b6f7..2418bec20b7 100644 --- a/Triangulation_3/include/CGAL/Triangulation_3.h +++ b/Triangulation_3/include/CGAL/Triangulation_3.h @@ -1225,11 +1225,9 @@ protected: if (the_facet_is_in_its_cz) *the_facet_is_in_its_cz = false; - if (could_lock_zone) - *could_lock_zone = true; - if (could_lock_zone) { + *could_lock_zone = true; if (!this->try_lock_cell(d)) { *could_lock_zone = false;