diff options
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/fatfs/diskio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/fatfs/diskio.c b/vendor/fatfs/diskio.c index ffcbbdfd0..83d20f1ba 100644 --- a/vendor/fatfs/diskio.c +++ b/vendor/fatfs/diskio.c @@ -126,8 +126,9 @@ DRESULT disk_write (BYTE pdrv, const BYTE* buff, DWORD sector, BYTE count) /* [I/O] Parameter and data buffer */ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff) { - if (cmd != CTRL_SYNC) return RES_ERROR; + (void) buff; (void) pdrv; // compiler warnings + if (cmd != CTRL_SYNC) return RES_ERROR; return RES_OK; } |
