Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress error in snprintf with a pointer variable
Suppresses the following error: lib/mqtt5_msg.c:767:17: error: null destination pointer [-Werror=format-truncation=] 767 | snprintf(response_topic, response_topic_size, "%s/%s", property->response_topic, resp_info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information