From 7b5c86033afa9ee3d75a3848737816e5d0473f20 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 19 Feb 2008 17:25:19 +0000 Subject: [PATCH] fix compiler warnings: 'statement is unreachable' --- lib/ssh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ssh.c b/lib/ssh.c index 9042d41aa..0dff0312d 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -277,20 +277,20 @@ static CURLcode libssh2_session_error_to_CURLE(int err) static LIBSSH2_ALLOC_FUNC(libssh2_malloc) { + (void)abstract; /* arg not used */ return malloc(count); - (void)abstract; } static LIBSSH2_REALLOC_FUNC(libssh2_realloc) { + (void)abstract; /* arg not used */ return realloc(ptr, count); - (void)abstract; } static LIBSSH2_FREE_FUNC(libssh2_free) { + (void)abstract; /* arg not used */ free(ptr); - (void)abstract; } /*