sftp_read: Value stored to 'next' is never read
Detected by clang-analyzer
Этот коммит содержится в:
родитель
1abf2057de
Коммит
62cc59cd06
@ -1459,9 +1459,8 @@ static ssize_t sftp_read(LIBSSH2_SFTP_HANDLE * handle, char *buffer,
|
||||
|
||||
switch (data[0]) {
|
||||
case SSH_FXP_STATUS:
|
||||
/* remove the chunk we just processed keeping track of the
|
||||
* next one in case we need it */
|
||||
next = _libssh2_list_next(&chunk->node);
|
||||
/* remove the chunk we just processed */
|
||||
|
||||
_libssh2_list_remove(&chunk->node);
|
||||
LIBSSH2_FREE(session, chunk);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user