Unnecessary double "if" blocks

This commit is contained in:
Clement Jamin 2017-03-09 17:46:46 +01:00
parent a5f9d4e3b7
commit 6ea82bbe2a
1 changed files with 1 additions and 3 deletions

View File

@ -1225,11 +1225,9 @@ protected:
if (the_facet_is_in_its_cz) if (the_facet_is_in_its_cz)
*the_facet_is_in_its_cz = false; *the_facet_is_in_its_cz = false;
if (could_lock_zone)
*could_lock_zone = true;
if (could_lock_zone) if (could_lock_zone)
{ {
*could_lock_zone = true;
if (!this->try_lock_cell(d)) if (!this->try_lock_cell(d))
{ {
*could_lock_zone = false; *could_lock_zone = false;