Merge branch 'bugfix/asserts_disabled' into 'master'

core: Fix assert path embedding, warnings when asserts are disabled

Closes IDFGH-4477

See merge request espressif/esp-idf!12371
This commit is contained in:
Angus Gratton
2021-03-03 08:20:54 +00:00
84 changed files with 441 additions and 119 deletions

View File

@@ -45,7 +45,7 @@ void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, uns
#endif
} ctx;
int ret;
int ret __attribute__((unused));
assert(input != NULL && output != NULL);
#if SOC_SHA_SUPPORT_SHA1