Skip to content

Commit d8ad0c3

Browse files
committed
Move (void) to below variable declaration
1 parent dfc0f72 commit d8ad0c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/wolfsftp.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4686,13 +4686,14 @@ int SFTP_GetAttributes_Handle(WOLFSSH* ssh, byte* handle, int handleSz,
46864686
static int SFTP_GetAttributes(void* fs, const char* fileName,
46874687
WS_SFTP_FILEATRB* atr, byte noFollow, void* heap)
46884688
{
4689-
(void) fs;
4690-
(void) noFollow;
4691-
(void) heap;
46924689
FILINFO info;
46934690
FRESULT ret;
46944691
int sz = (int)WSTRLEN(fileName);
46954692

4693+
(void) fs;
4694+
(void) noFollow;
4695+
(void) heap;
4696+
46964697
ret = f_stat(fileName, &info);
46974698
if (ret != FR_OK)
46984699
return -1;

0 commit comments

Comments
 (0)