Fix missing instantiation of return value in rwb_mediaremoved.
This commit is contained in:
parent
a0e2f29bdf
commit
3ba792cb52
@ -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…
Reference in New Issue
Block a user