efuse: Fix unused variable warning when NDEBUG

Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
This commit is contained in:
V.Dudnik 2019-05-06 09:52:53 +03:00 committed by Konstantin Kondrashov
parent df61612f8f
commit 7822484aaa

View File

@ -104,6 +104,7 @@ void esp_efuse_write_random_key(uint32_t blk_wdata0_reg)
} else { // 3/4 Coding Scheme
bootloader_fill_random(raw, sizeof(raw));
esp_err_t r = esp_efuse_apply_34_encoding(raw, buf, sizeof(raw));
(void) r;
assert(r == ESP_OK);
}