From 7e53949e66fa9124ed2bf52b6947f0df9584099b Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 8 Mar 2012 08:35:29 +0100 Subject: [PATCH] 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 --- src/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.c b/src/global.c index 409e8e8..dc45e70 100644 --- a/src/global.c +++ b/src/global.c @@ -74,5 +74,5 @@ void _libssh2_init_if_needed(void) { if (_libssh2_initialized == 0) - libssh2_init (0); + (void)libssh2_init (0); }