mirror of https://github.com/ARMmbed/mbed-os.git
features: nanostack: fix warning in thread_extension.h
Fix the following build warning seen with GCC Compile [ 51.2%]: thread_bootstrap.c [Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]pull/9696/head
parent
a477354292
commit
1f015aa0b7
|
@ -85,7 +85,7 @@ uint8_t *thread_extension_discover_response_write(protocol_interface_info_entry_
|
|||
#define thread_extension_version_check(version) (false)
|
||||
#define thread_extension_discover_response_read(nwk_info, discover_response_tlv, data_ptr, data_len) ((void) 0)
|
||||
#define thread_extension_discover_response_tlv_write(data, version, securityPolicy) ((void) 0)
|
||||
#define thread_extension_service_init(cur) (0)
|
||||
#define thread_extension_service_init(cur) ((void) 0)
|
||||
#define thread_extension_joining_enabled(interface_id) (false)
|
||||
#define thread_extension_discover_response_len(cur) (0)
|
||||
#define thread_extension_discover_response_write(cur, ptr) (ptr)
|
||||
|
|
Loading…
Reference in New Issue