mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-17 07:49:22 +01:00
asprintf()'s return value:
When successful, these functions return the number of bytes
printed, just like sprintf(3). On error, -1 is returned, errno is
set to indicate the error, and the contents of strp are undefined.
Fixes the following:
error: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
60 KiB
60 KiB