mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 15:05:07 +00:00
Fix missing instantiation of return value in rwb_mediaremoved.
This commit is contained in:
parent
a0e2f29bdf
commit
3ba792cb52
1 changed files with 2 additions and 0 deletions
|
|
@ -1182,6 +1182,8 @@ ssize_t rwb_readbytes(FAR struct rwbuffer_s *dev, off_t offset,
|
|||
#ifdef CONFIG_DRVR_REMOVABLE
|
||||
int rwb_mediaremoved(FAR struct rwbuffer_s *rwb)
|
||||
{
|
||||
int ret;
|
||||
|
||||
#ifdef CONFIG_DRVR_WRITEBUFFER
|
||||
if (rwb->wrmaxblocks > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue