Merge pull request #612 from mrdeep1/coap_unused

COAP_UNUSED: Remove UNUSED and UNUSED_PARAM and use COAP_UNUSED instead
This commit is contained in:
obgm authored and GitHub committed 2021-03-08 18:43:45 +01:00
commit ae752e9e7a
15 files changed
+225 -292

No files matched your search

+1 -7
View File
@@ -14,14 +14,8 @@
#include "test_tls.h"
#include "coap2/libcoap.h"
#ifdef __GNUC__
#define UNUSED_PARAM __attribute__ ((unused))
#else /* not a GCC */
#define UNUSED_PARAM
#endif /* GCC */
int
main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) {
main(int argc COAP_UNUSED, char **argv COAP_UNUSED) {
CU_ErrorCode result;
CU_BasicRunMode run_mode = CU_BRM_VERBOSE;