mirror of
https://github.com/curl/curl.git
synced 2026-07-16 00:37:21 +03:00
vssh: remove the #ifdef for Curl_ssh_init, use empty macro
In the same style as other init calls
This commit is contained in:
parent
347cf02e9d
commit
8d3ce930f8
2 changed files with 2 additions and 2 deletions
|
|
@ -188,11 +188,10 @@ static CURLcode global_init(long flags, bool memoryfuncs)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
#if defined(USE_SSH)
|
||||
if(Curl_ssh_init()) {
|
||||
DEBUGF(fprintf(stderr, "Error: Curl_ssh_init failed\n"));
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
||||
easy_init_flags = flags;
|
||||
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ void Curl_ssh_attach(struct Curl_easy *data,
|
|||
/* for non-SSH builds */
|
||||
#define Curl_ssh_cleanup()
|
||||
#define Curl_ssh_attach(x,y)
|
||||
#define Curl_ssh_init() 0
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_SSH_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue