version: turn version number functions into returning void

... as we never use the return codes from them.

Reviewed-by: Daniel Gustafsson
Closes #7319
This commit is contained in:
Daniel Stenberg 2021-06-30 11:09:55 +02:00
parent 5372ee37d3
commit 63c7668182
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
13 changed files with 31 additions and 37 deletions

View file

@ -1148,9 +1148,9 @@ static int wssh_getsock(struct Curl_easy *data,
return bitmap;
}
size_t Curl_ssh_version(char *buffer, size_t buflen)
void Curl_ssh_version(char *buffer, size_t buflen)
{
return msnprintf(buffer, buflen, "wolfssh/%s", LIBWOLFSSH_VERSION_STRING);
(void)msnprintf(buffer, buflen, "wolfssh/%s", LIBWOLFSSH_VERSION_STRING);
}
CURLcode Curl_ssh_init(void)