warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1834 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
5db59d557b
commit
45456750bf
|
@ -106,7 +106,6 @@ static int bch_open(FAR struct file *filp)
|
|||
{
|
||||
FAR struct inode *inode = filp->f_inode;
|
||||
FAR struct bchlib_s *bch;
|
||||
int ret;
|
||||
|
||||
DEBUGASSERT(inode && inode->i_private);
|
||||
bch = (FAR struct bchlib_s *)inode->i_private;
|
||||
|
@ -124,7 +123,7 @@ static int bch_open(FAR struct file *filp)
|
|||
}
|
||||
bchlib_semgive(bch);
|
||||
|
||||
return ret;
|
||||
return OK;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -375,7 +375,7 @@ static inline void mmcsd_synchronize(FAR struct mmcsd_slot_s *slot)
|
|||
SPI_SELECT(spi, SPIDEV_MMCSD, TRUE);
|
||||
}
|
||||
#else
|
||||
# define mmcsd_synchronize(slot) /* No synchronization needed */s
|
||||
# define mmcsd_synchronize(slot) /* No synchronization needed */
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -38,8 +38,9 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -38,8 +38,9 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -363,4 +363,5 @@ int nsh_consolemain(int argc, char *argv[])
|
|||
fflush(pstate->ss_stream);
|
||||
}
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue