Skip to content

Commit 473b6fe

Browse files
committed
fix compiler warning
1 parent 8a183ea commit 473b6fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/filesys/fatfs/fatfs_vfs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ _vfs_open_fat_handle(vfs_file_t *fhandle)
9393
unsigned long long pmask;
9494

9595
if (!fhandle) {
96-
return _seterror(EBADF);
96+
_seterror(EBADF);
97+
return 0;
9798
}
9899

99100
FFS = _gc_alloc_managed(sizeof(*FFS));

0 commit comments

Comments
 (0)