mirror of
https://github.com/curl/curl.git
synced 2026-06-06 18:24:49 +03:00
libssh: fix unused variable
lib/vssh/libssh.c:235:33: error: unused parameter 'lineno' [-Werror,-Wunused-parameter]
235 | , int lineno
| ^
options='-DCURL_DISABLE_ALTSVC=ON -DCURL_DISABLE_COOKIES=ON -DCURL_DISABLE_DIGEST_AUTH=ON -DCURL_DISABLE_DOH=ON -DCURL_DISABLE_GOPHER=ON -DCURL_DISABLE_HSTS=ON -DCURL_DISABLE_HTTP_AUTH=ON -DCURL_DISABLE_IMAP=ON -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LIBCURL_OPTION=ON -DCURL_DISABLE_NEGOTIATE_AUTH=ON -DCURL_DISABLE_PARSEDATE=ON -DCURL_DISABLE_SOCKETPAIR=ON -DCURL_DISABLE_SRP=ON -DCURL_DISABLE_VERBOSE_STRINGS=ON -DENABLE_DEBUG=ON -DENABLE_UNICODE=ON -DHTTP_ONLY=ON -DCURL_ENABLE_SSL=OFF -DENABLE_IPV6=OFF -DENABLE_CURLDEBUG=ON -DCURL_USE_LIBSSH=ON -DCURL_USE_GNUTLS=ON -DCURL_USE_MBEDTLS=ON -DCURL_USE_WOLFSSL=ON -DUSE_ECH=OFF '
This commit is contained in:
parent
bdf240b7fa
commit
1753360f10
1 changed files with 4 additions and 4 deletions
|
|
@ -218,10 +218,10 @@ static CURLcode sftp_error_to_CURLE(int err)
|
|||
return CURLE_SSH;
|
||||
}
|
||||
|
||||
#ifndef DEBUGBUILD
|
||||
#define myssh_to(x,y,z) myssh_set_state(x,y,z)
|
||||
#else
|
||||
#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
|
||||
#define myssh_to(x,y,z) myssh_set_state(x,y,z, __LINE__)
|
||||
#else
|
||||
#define myssh_to(x,y,z) myssh_set_state(x,y,z)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
@ -231,7 +231,7 @@ static CURLcode sftp_error_to_CURLE(int err)
|
|||
static void myssh_set_state(struct Curl_easy *data,
|
||||
struct ssh_conn *sshc,
|
||||
sshstate nowstate
|
||||
#ifdef DEBUGBUILD
|
||||
#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
|
||||
, int lineno
|
||||
#endif
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue