Skip to content

Commit 906f36b

Browse files
committed
Merge branch 'bugfix/idf-10972' into 'master'
fix the coverity issue of 'Constant' variable guards dead code Closes IDF-10972 See merge request espressif/esp-idf!33788
2 parents 42f1e21 + f85ef40 commit 906f36b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/esp_hw_support/sleep_retention.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ static esp_err_t sleep_retention_entries_create_impl(const sleep_retention_entri
534534
return ESP_ERR_NO_MEM;
535535
}
536536
sleep_retention_entries_update(retent[i].owner, link, priority);
537-
} else {
538-
break;
539537
}
540538
}
541539
_lock_release_recursive(&s_retention.lock);

0 commit comments

Comments
 (0)