Move (void) to below variable declaration

pull/787/head
Andrew Hutchings 2025-03-07 06:42:51 +00:00
parent dfc0f72480
commit d8ad0c307b
1 changed files with 4 additions and 3 deletions

View File

@ -4686,13 +4686,14 @@ int SFTP_GetAttributes_Handle(WOLFSSH* ssh, byte* handle, int handleSz,
static int SFTP_GetAttributes(void* fs, const char* fileName,
WS_SFTP_FILEATRB* atr, byte noFollow, void* heap)
{
(void) fs;
(void) noFollow;
(void) heap;
FILINFO info;
FRESULT ret;
int sz = (int)WSTRLEN(fileName);
(void) fs;
(void) noFollow;
(void) heap;
ret = f_stat(fileName, &info);
if (ret != FR_OK)
return -1;