Fix some new warnings found in build testing.
This commit is contained in:
parent
97dfff2011
commit
cc694e9862
@ -358,6 +358,7 @@ static int nsh_usbhostinitialize(void)
|
||||
return pid < 0 ? -ENOEXEC : OK;
|
||||
}
|
||||
|
||||
UNUSED(ret);
|
||||
return -ENODEV;
|
||||
}
|
||||
#else
|
||||
|
@ -1065,10 +1065,6 @@ static void cdcecm_ipv6multicast(FAR struct cdcecm_driver_s *priv)
|
||||
static int cdcecm_ioctl(FAR struct net_driver_s *dev, int cmd,
|
||||
unsigned long arg)
|
||||
{
|
||||
FAR struct cdcecm_driver_s *priv =
|
||||
(FAR struct cdcecm_driver_s *)dev->d_private;
|
||||
int ret;
|
||||
|
||||
/* Decode and dispatch the driver-specific IOCTL command */
|
||||
|
||||
switch (cmd)
|
||||
|
@ -37,6 +37,8 @@
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
|
||||
#include "partition.h"
|
||||
|
Loading…
Reference in New Issue
Block a user