From: Yang Tse Date: Tue, 19 Feb 2008 17:25:19 +0000 (+0000) Subject: fix compiler warnings: 'statement is unreachable' X-Git-Tag: curl-7_18_1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b5c86033afa9ee3d75a3848737816e5d0473f20;p=thirdparty%2Fcurl.git fix compiler warnings: 'statement is unreachable' --- diff --git a/lib/ssh.c b/lib/ssh.c index 9042d41aa6..0dff0312df 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; } /*