]> granicus.if.org Git - esp-idf/commitdiff
efuse: Fix unused variable warning when NDEBUG
authorV.Dudnik <dudnik.v@udtech.co>
Mon, 6 May 2019 06:52:53 +0000 (09:52 +0300)
committerKonstantin Kondrashov <konstantin@espressif.com>
Wed, 8 May 2019 01:14:24 +0000 (09:14 +0800)
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
components/efuse/src/esp_efuse_fields.c

index bee02641f13bd374fb18204a3613a80aca69071e..15b41b728372a5e52ff6f65e2bb99ab84d1a3443 100644 (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);
     }