diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-11-06 22:53:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-11-06 22:53:47 +0000 |
commit | 4cd65612ac80800caf9a2ff74bbb1fd93a80bbd8 (patch) | |
tree | d5eb1489f25fce1c3ac0a0b56542dd55dd67f196 /nuttx/drivers/bch/bchdev_driver.c | |
parent | 47d03716ef1707fa8ef27df64ffa3d971239997b (diff) | |
download | px4-nuttx-4cd65612ac80800caf9a2ff74bbb1fd93a80bbd8.tar.gz px4-nuttx-4cd65612ac80800caf9a2ff74bbb1fd93a80bbd8.tar.bz2 px4-nuttx-4cd65612ac80800caf9a2ff74bbb1fd93a80bbd8.zip |
Fix errors/warnings reported by eZ80 compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2239 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/bch/bchdev_driver.c')
-rw-r--r-- | nuttx/drivers/bch/bchdev_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/bch/bchdev_driver.c b/nuttx/drivers/bch/bchdev_driver.c index 1258fec23..3ca97bd72 100644 --- a/nuttx/drivers/bch/bchdev_driver.c +++ b/nuttx/drivers/bch/bchdev_driver.c @@ -137,7 +137,7 @@ static int bch_close(FAR struct file *filp) { FAR struct inode *inode = filp->f_inode; FAR struct bchlib_s *bch; - int ret; + int ret = OK; DEBUGASSERT(inode && inode->i_private); bch = (FAR struct bchlib_s *)inode->i_private; |