mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
libssh: fix -Wsign-compare in 32-bit builds by dropping a redundant check
Follow-up to8c8eeba522#21214 (wrong silencing) Follow-up toc049c37acd#18989 (add redundant check) Follow-up toc988ec9f41#9328 (make check fail) Follow-up to44a02d2532#9324 (add original check) Closes #21225
This commit is contained in:
parent
acda4eae5e
commit
8968a68eba
@ -1661,9 +1661,6 @@ static int myssh_in_SFTP_QUOTE_STAT(struct Curl_easy *data,
|
||||
myssh_quote_error(data, sshc, NULL);
|
||||
return SSH_NO_ERROR;
|
||||
}
|
||||
if(date > (time_t)UINT_MAX)
|
||||
/* because the liubssh API cannot deal with a larger value */
|
||||
date = UINT_MAX;
|
||||
if(!strncmp(cmd, "atime", 5))
|
||||
sshc->quote_attrs->atime = (uint32_t)date;
|
||||
else /* mtime */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user