aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-02-19 17:25:19 +0000
committerYang Tse <yangsita@gmail.com>2008-02-19 17:25:19 +0000
commit7b5c86033afa9ee3d75a3848737816e5d0473f20 (patch)
tree9d0571d48c68b1fef038eb8365d1d102dceccb04 /lib/ssh.c
parentade0890746c43b078722b6e960a59a0834d416f2 (diff)
fix compiler warnings: 'statement is unreachable'
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c6
1 files 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;
}
/*