mirror of https://github.com/wolfSSL/wolfssh.git
Move (void) to below variable declaration
parent
dfc0f72480
commit
d8ad0c307b
|
@ -4686,13 +4686,14 @@ int SFTP_GetAttributes_Handle(WOLFSSH* ssh, byte* handle, int handleSz,
|
||||||
static int SFTP_GetAttributes(void* fs, const char* fileName,
|
static int SFTP_GetAttributes(void* fs, const char* fileName,
|
||||||
WS_SFTP_FILEATRB* atr, byte noFollow, void* heap)
|
WS_SFTP_FILEATRB* atr, byte noFollow, void* heap)
|
||||||
{
|
{
|
||||||
(void) fs;
|
|
||||||
(void) noFollow;
|
|
||||||
(void) heap;
|
|
||||||
FILINFO info;
|
FILINFO info;
|
||||||
FRESULT ret;
|
FRESULT ret;
|
||||||
int sz = (int)WSTRLEN(fileName);
|
int sz = (int)WSTRLEN(fileName);
|
||||||
|
|
||||||
|
(void) fs;
|
||||||
|
(void) noFollow;
|
||||||
|
(void) heap;
|
||||||
|
|
||||||
ret = f_stat(fileName, &info);
|
ret = f_stat(fileName, &info);
|
||||||
if (ret != FR_OK)
|
if (ret != FR_OK)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue