9
0
Fork 0

warning removal

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1834 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2009-05-28 23:45:05 +00:00
parent 4314ebfce1
commit 8dc817f27d
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;
}