mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-06 03:35:13 +01:00
fix warnings
This commit is contained in:
parent
d3f899754c
commit
19c9e857e9
6
ff.c
6
ff.c
@ -556,6 +556,8 @@ FRESULT dir_next ( /* FR_OK:Succeeded, FR_NO_FILE:End of table, FR_DENIED:EOT an
|
|||||||
BOOL streach /* FALSE: Do not streach table, TRUE: Streach table if needed */
|
BOOL streach /* FALSE: Do not streach table, TRUE: Streach table if needed */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) streach;
|
||||||
|
|
||||||
DWORD clst;
|
DWORD clst;
|
||||||
WORD i;
|
WORD i;
|
||||||
|
|
||||||
@ -836,7 +838,7 @@ FRESULT dir_find (
|
|||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* Read an object from the directory */
|
/* Read an object from the directory */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
#if _FS_MINIMIZE <= 2
|
#if (_FS_MINIMIZE <= 2) && !_FS_READONLY
|
||||||
static
|
static
|
||||||
FRESULT dir_read (
|
FRESULT dir_read (
|
||||||
DIR *dj /* Pointer to the directory object to store read object name */
|
DIR *dj /* Pointer to the directory object to store read object name */
|
||||||
@ -1351,6 +1353,8 @@ FRESULT auto_mount ( /* FR_OK(0): successful, !=0: any error occured */
|
|||||||
BYTE chk_wp /* !=0: Check media write protection for write access */
|
BYTE chk_wp /* !=0: Check media write protection for write access */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) chk_wp;
|
||||||
|
|
||||||
FRESULT res;
|
FRESULT res;
|
||||||
BYTE vol, fmt, *tbl;
|
BYTE vol, fmt, *tbl;
|
||||||
DSTATUS stat;
|
DSTATUS stat;
|
||||||
|
3
sdhc.c
3
sdhc.c
@ -681,6 +681,9 @@ sdhc_soft_reset(struct sdhc_host *hp, int mask)
|
|||||||
int
|
int
|
||||||
sdhc_wait_intr_debug(const char *funcname, int line, struct sdhc_host *hp, int mask, int timo)
|
sdhc_wait_intr_debug(const char *funcname, int line, struct sdhc_host *hp, int mask, int timo)
|
||||||
{
|
{
|
||||||
|
(void) funcname;
|
||||||
|
(void) line;
|
||||||
|
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
mask |= SDHC_ERROR_INTERRUPT;
|
mask |= SDHC_ERROR_INTERRUPT;
|
||||||
|
Loading…
Reference in New Issue
Block a user