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:
parent
ade0890746
commit
7b5c86033a
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user