diff options
| author | hathach <[email protected]> | 2014-03-14 11:59:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-14 11:59:39 +0700 |
| commit | 5e2ed2534ebc7576f028e09023bae923965c645e (patch) | |
| tree | 1f613ccf069bcdb02d65ec91f3d1bb428a205e70 /vendor | |
| parent | 214af7e9885f100d4f4d1882e9305899b6afc2b7 (diff) | |
clean up warning in lpcxpresso
remove -Wpacked -Wpadded in gcc
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; } |
