1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fix compiler warnings: 'statement is unreachable'

This commit is contained in:
Yang Tse 2008-02-19 17:25:19 +00:00
parent ade0890746
commit 7b5c86033a

View File

@ -277,20 +277,20 @@ static CURLcode libssh2_session_error_to_CURLE(int err)
static LIBSSH2_ALLOC_FUNC(libssh2_malloc) static LIBSSH2_ALLOC_FUNC(libssh2_malloc)
{ {
(void)abstract; /* arg not used */
return malloc(count); return malloc(count);
(void)abstract;
} }
static LIBSSH2_REALLOC_FUNC(libssh2_realloc) static LIBSSH2_REALLOC_FUNC(libssh2_realloc)
{ {
(void)abstract; /* arg not used */
return realloc(ptr, count); return realloc(ptr, count);
(void)abstract;
} }
static LIBSSH2_FREE_FUNC(libssh2_free) static LIBSSH2_FREE_FUNC(libssh2_free)
{ {
(void)abstract; /* arg not used */
free(ptr); free(ptr);
(void)abstract;
} }
/* /*