mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Eliminate some warnings found in build-testing
This commit is contained in:
@@ -43,8 +43,11 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <arch/stm32/chip.h>
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
@@ -401,6 +401,7 @@ static void bt_discover_destroy(FAR void *arg)
|
||||
|
||||
wlinfo("Discover destroy. params %p\n", params);
|
||||
DEBUGASSERT(params != NULL && g_discoverstate.bd_discovering);
|
||||
UNUSED(params);
|
||||
|
||||
memset(&g_discoverstate.bd_params, 0, sizeof(struct btnet_discoverstate_s));
|
||||
nxsem_destroy(&g_discoverstate.bd_exclsem);
|
||||
|
||||
Reference in New Issue
Block a user