Tell C compiler we don't care about return code of libssh2_init

The call of libssh2_init returns a return code, but nothing could be done
within the _libssh2_init_if_needed execution path.

Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2012-03-08 08:35:29 +01:00 committed by Daniel Stenberg
parent 5672e8f4cf
commit 7e53949e66

View File

@ -74,5 +74,5 @@ void
_libssh2_init_if_needed(void)
{
if (_libssh2_initialized == 0)
libssh2_init (0);
(void)libssh2_init (0);
}