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:
patacongo 2009-05-28 23:45:05 +00:00
parent 5db59d557b
commit 45456750bf
5 changed files with 7 additions and 5 deletions

View File

@ -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;
}
/****************************************************************************

View File

@ -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
/****************************************************************************

View File

@ -38,8 +38,9 @@
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <stdio.h>
#include <debug.h>
#include <errno.h>

View File

@ -38,8 +38,9 @@
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <stdio.h>
#include <debug.h>
#include <errno.h>

View File

@ -363,4 +363,5 @@ int nsh_consolemain(int argc, char *argv[])
fflush(pstate->ss_stream);
}
}
return OK;
}