wincng.c: fix unused argument warning if clear memory is not enabled
This commit is contained in:
parent
57dea4df6d
commit
09a559433e
@ -288,6 +288,10 @@ _libssh2_wincng_random(void *buf, int len)
|
||||
static void
|
||||
_libssh2_wincng_safe_free(void *buf, int len)
|
||||
{
|
||||
#ifndef LIBSSH2_CLEAR_MEMORY
|
||||
(void)len;
|
||||
#endif
|
||||
|
||||
if (!buf)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user