vssh: remove the #ifdef for Curl_ssh_init, use empty macro

In the same style as other init calls
This commit is contained in:
Daniel Stenberg 2023-10-20 18:19:55 +02:00
parent 347cf02e9d
commit 8d3ce930f8
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 */