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_at_redhat.com>
--- src/global.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); } -- 1.7.7.6 _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2012-03-08