]> 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)
committerKonstantinKondrashov <konstantin@espressif.com>
Wed, 8 May 2019 01:41:49 +0000 (09:41 +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 48874778d52855c287162d5f61e7a280db83ffa5..f4f30714cc3dbfbd242fd0a60d7470851bfccaac 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);
     }